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

[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 ago458 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 ago458 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]shim.js2 years ago329 0fb859dc fixed mobile overflwo options [كارل مبارك]
README.md

String.prototype.trimEnd Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

browser support

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('string.prototype.trimend');

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

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