@hutechwebsite/facere-sit-exercitationem-delectus

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im


Keywords
vest, slot, crypt, fastcopy, ansi, argv, ie, efficient, link, String.prototype.matchAll, sort, figlet, auth, concat, side, es5, names, forms, key, getopt, in, Object.keys, ES2016, config, circular, String.prototype.trim, reduce, deepcopy, ES2018, fastclone, debug, pipe, wordwrap, commander, ES6, eslintconfig, touch, live, get, javascript, deep, autoscaling, bluebird, from, JSON-Schema, asserts, css variable, node, deepclone, search, generics, TypeScript, Microsoft, shim, omit, fsevents, .env, codes, create, express, rds, dependencies, test, bundler, middleware, ec2, dom, installer, serializer, toArray, 256, nodejs, type, less compiler, hookform, tostringtag, groupBy, postcss-plugin, set, accessor, styleguide, ts, cache, graphql, Iterator, argument, japanese, tty, arrays, time, limit, ponyfill, browserlist, rfc4122, ast, callbind, settings, Object.fromEntries, react-hooks, Array.prototype.contains, URL, performance, bundling, shell, indicator, exec, check, persistent
License
MIT
Install
npm install @hutechwebsite/facere-sit-exercitationem-delectus@1.0.0

Documentation

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('@hutechwebsite/facere-sit-exercitationem-delectus');

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