@erboladaiorg/molestiae-voluptatibus

4.2.105 • Public • Published

String.prototype.trimEnd Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES2019-spec-compliant String.prototype.trimEnd shim. Invoke its "shim" method to shim String.prototype.trimEnd 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 trimEnd = require('@erboladaiorg/molestiae-voluptatibus');

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

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

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

Tests

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.2.1051latest

Version History

VersionDownloads (Last 7 Days)Published
4.2.1051
4.2.1041
3.2.1040
3.2.1030
3.2.1020
3.2.1010
3.2.1000
3.2.990
3.2.980
3.1.980
3.1.970
3.1.960
3.1.950
3.1.940
3.1.930
3.1.920
3.1.910
3.0.910
3.0.900
3.0.890
3.0.880
3.0.870
3.0.860
3.0.850
3.0.840
3.0.830
3.0.820
3.0.810
3.0.800
3.0.790
3.0.780
3.0.770
3.0.760
3.0.750
3.0.740
3.0.730
3.0.720
3.0.710
3.0.700
3.0.690
3.0.680
3.0.670
3.0.660
3.0.650
3.0.640
3.0.630
3.0.620
3.0.610
3.0.600
3.0.590
3.0.580
3.0.570
3.0.560
3.0.550
3.0.540
3.0.530
3.0.520
3.0.510
3.0.500
3.0.490
3.0.480
3.0.470
3.0.460
3.0.450
3.0.440
3.0.430
3.0.420
3.0.410
3.0.400
3.0.390
3.0.380
3.0.370
3.0.360
3.0.350
3.0.340
3.0.330
3.0.320
3.0.310
3.0.300
3.0.290
3.0.280
3.0.270
3.0.260
3.0.250
3.0.240
3.0.230
2.0.230
2.0.220
1.0.220
1.0.210
1.0.200
1.0.190
1.0.180
1.0.170
1.0.160
1.0.150
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @erboladaiorg/molestiae-voluptatibus

Weekly Downloads

2

Version

4.2.105

License

MIT

Unpacked Size

204 kB

Total Files

545

Last publish

Collaborators

  • diepminhb311