1.1.11 • Published 5 days ago

@swenkerorg/neque-eligendi-voluptatum v1.1.11

Weekly downloads
-
License
MIT
Repository
github
Last release
5 days ago

String.prototype.trimStart Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

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('@swenkerorg/neque-eligendi-voluptatum');

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

1.1.11

5 days ago

1.1.10

6 days ago

1.1.9

7 days ago

1.1.8

8 days ago

1.1.7

9 days ago

1.0.7

10 days ago

1.0.6

11 days ago

1.0.5

12 days ago

1.0.4

13 days ago

1.0.3

14 days ago

1.0.2

15 days ago

1.0.1

16 days ago