معرفی شرکت ها


string.prototype.trim-1.2.7


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

ES5 spec-compliant shim for String.prototype.trim
ویژگی مقدار
سیستم عامل -
نام فایل string.prototype.trim-1.2.7
نام string.prototype.trim
نسخه کتابخانه 1.2.7
نگهدارنده ['ljharb']
ایمیل نگهدارنده ['ljharb@gmail.com']
نویسنده Jordan Harband
ایمیل نویسنده ljharb@gmail.com
آدرس صفحه اصلی git://github.com/es-shims/String.prototype.trim.git
آدرس اینترنتی https://github.com/es-shims/String.prototype.trim#readme
مجوز MIT
# String.prototype.trim <sup>[![Version Badge][npm-version-svg]][package-url]</sup> [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] [![npm badge][npm-badge-png]][package-url] An ES5 spec-compliant `String.prototype.trim` shim. Invoke its "shim" method to shim `String.prototype.trim` if it is unavailable. This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the spec (both [ES5](https://262.ecma-international.org/5.1/#sec-15.5.4.20) and [current](https://tc39.es/ecma262/#sec-string.prototype.trim)). Most common usage: ```js var assert = require('assert'); var trim = require('string.prototype.trim'); assert(trim(' \t\na \t\n') === 'a'); trim.shim(); // will be a no-op if not needed assert(trim(' \t\na \t\n') === ' \t\na \t\n'.trim()); ``` ## Engine Bugs Some implementations of `String#trim` incorrectly trim zero-width spaces. This shim detects and corrects this behavior. ## Tests Simply clone the repo, `npm install`, and run `npm test` [package-url]: https://npmjs.com/package/string.prototype.trim [npm-version-svg]: https://versionbadg.es/es-shims/String.prototype.trim.svg [deps-svg]: https://david-dm.org/es-shims/String.prototype.trim.svg [deps-url]: https://david-dm.org/es-shims/String.prototype.trim [dev-deps-svg]: https://david-dm.org/es-shims/String.prototype.trim/dev-status.svg [dev-deps-url]: https://david-dm.org/es-shims/String.prototype.trim#info=devDependencies [license-image]: https://img.shields.io/npm/l/string.prototype.trim.svg [license-url]: LICENSE [downloads-image]: https://img.shields.io/npm/dm/string.prototype.trim.svg [downloads-url]: https://npm-stat.com/charts.html?package=string.prototype.trim [codecov-image]: https://codecov.io/gh/es-shims/String.prototype.trim/branch/main/graphs/badge.svg [codecov-url]: https://app.codecov.io/gh/es-shims/String.prototype.trim/ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/String.prototype.trim [actions-url]: https://github.com/es-shims/String.prototype.trim/actions


نیازمندی

مقدار نام
^1.0.2 call-bind
^1.1.4 define-properties
^1.20.4 es-abstract


زبان مورد نیاز

مقدار نام
19.0.1 Npm


نحوه نصب


نصب پکیج tgz string.prototype.trim-1.2.7:

    npm install string.prototype.trim-1.2.7.tgz