/ piacw.com / dev / final / node_modules / string.prototype.trimstart /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]node_modules/2 years ago -  
[DIR]test/2 years ago -  
[TXT]CHANGELOG.md2 years ago3.0K0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]LICENSE2 years ago1.0K0fb859dc fixed mobile overflwo options [كارل مبارك]
[TXT]README.md2 years ago2.2K0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]auto.js2 years ago 36 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]implementation.js2 years ago457 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]index.js2 years ago392 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]package.json2 years ago3.5K0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]polyfill.js2 years ago463 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]shim.js2 years ago337 0fb859dc fixed mobile overflwo options [كارل مبارك]
README.md

String.prototype.trimStart Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

browser support

An ES2019-spec-compliant String.prototype.trimStart shim. Invoke its "shim" method to shim String.prototype.trimStart if it is unavailable.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec. In an ES6 environment, it will also work properly with Symbols.

Most common usage:

var trimStart = require('string.prototype.trimstart');

assert(trimStart(' \t\na \t\n') === 'a \t\n');

if (!String.prototype.trimStart) {
    trimStart.shim();
}

assert(trimStart(' \t\na \t\n') === ' \t\na \t\n'.trimStart());

Tests

Simply clone the repo, npm install, and run npm test

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80