StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.2 KiB
47 lines
2.2 KiB
String.prototype.trimLeft <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
|
|
|
|
[![Build Status][travis-svg]][travis-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]
|
|
|
|
[![browser support][testling-svg]][testling-url]
|
|
|
|
A spec-proposal-compliant `String.prototype.trimLeft` shim. Invoke its "shim" method to shim `String.prototype.trimLeft` 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](http://www.ecma-international.org/ecma-262/6.0/#sec-object.assign). In an ES6 environment, it will also work properly with `Symbol`s.
|
|
|
|
Most common usage:
|
|
```js
|
|
var trimLeft = require('string.prototype.trimleft');
|
|
|
|
assert(trimLeft(' \t\na \t\n') === 'a \t\n');
|
|
|
|
if (!String.prototype.trimLeft) {
|
|
trimLeft.shim();
|
|
}
|
|
|
|
assert(trimLeft(' \t\na \t\n') === ' \t\na \t\n'.trimLeft());
|
|
```
|
|
|
|
## Tests
|
|
Simply clone the repo, `npm install`, and run `npm test`
|
|
|
|
[package-url]: https://npmjs.com/package/string.prototype.trimleft
|
|
[npm-version-svg]: http://vb.teelaun.ch/es-shims/String.prototype.trimLeft.svg
|
|
[travis-svg]: https://travis-ci.org/es-shims/String.prototype.trimLeft.svg
|
|
[travis-url]: https://travis-ci.org/es-shims/String.prototype.trimLeft
|
|
[deps-svg]: https://david-dm.org/es-shims/String.prototype.trimLeft.svg
|
|
[deps-url]: https://david-dm.org/es-shims/String.prototype.trimLeft
|
|
[dev-deps-svg]: https://david-dm.org/es-shims/String.prototype.trimLeft/dev-status.svg
|
|
[dev-deps-url]: https://david-dm.org/es-shims/String.prototype.trimLeft#info=devDependencies
|
|
[testling-svg]: https://ci.testling.com/es-shims/String.prototype.trimLeft.png
|
|
[testling-url]: https://ci.testling.com/es-shims/String.prototype.trimLeft
|
|
[npm-badge-png]: https://nodei.co/npm/string.prototype.trimleft.png?downloads=true&stars=true
|
|
[license-image]: http://img.shields.io/npm/l/string.prototype.trimleft.svg
|
|
[license-url]: LICENSE
|
|
[downloads-image]: http://img.shields.io/npm/dm/string.prototype.trimleft.svg
|
|
[downloads-url]: http://npm-stat.com/charts.html?package=string.prototype.trimleft
|
|
|