{"name":"string.prototype.trimstart","version":"1.0.7","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"contributors":[{"name":"Jordan Harband","email":"ljharb@gmail.com"},{"name":"Khaled Al-Ansari","email":"khaledelansari@gmail.com"}],"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"ES2019 spec-compliant String.prototype.trimStart shim.","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"aud --production","tests-only":"nyc tape 'test/**/*.js'","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git://github.com/es-shims/String.prototype.trimStart.git"},"keywords":["es6","es7","es8","javascript","prototype","polyfill","utility","trim","trimLeft","trimRight","trimStart","trimEnd","tc39"],"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","eslint":"=8.8.0","functions-have-names":"^1.2.3","has-strict-mode":"^1.0.1","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.2.0","es-abstract":"^1.22.1"},"publishConfig":{"ignore":[".github/workflows"]},"_id":"string.prototype.trimstart@1.0.7","gitHead":"e5928783d8bb9e38dbb68cc893b317aade0bcaa7","bugs":{"url":"https://github.com/es-shims/String.prototype.trimStart/issues"},"homepage":"https://github.com/es-shims/String.prototype.trimStart#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==","shasum":"d4cdb44b83a4737ffbac2d406e405d43d0184298","tarball":"http://registry-npm.ywwl.com/string.prototype.trimstart/download/string.prototype.trimstart-1.0.7.tgz","fileCount":16,"unpackedSize":21923,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDj+N/PwoaD4yHIMfpJqpmMeCHLZeSRXjphJPNXP9zBVwIhAPFJjjObKILYr7rOmQ2UpBfXs3mN90pwOMtB2Vff3ICW"}],"size":7535,"noattachment":false,"key":"/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"khaledelansari","email":"khaledelansari@gmail.com"},{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/string.prototype.trimstart_1.0.7_1693886707305_0.007109469294438897"},"_hasShrinkwrap":false,"readme":"# String.prototype.trimStart <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nAn ES2019-spec-compliant `String.prototype.trimStart` shim. Invoke its \"shim\" method to shim `String.prototype.trimStart` if it is unavailable.\n\nThis 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](https://www.ecma-international.org/ecma-262/6.0/#sec-object.assign). In an ES6 environment, it will also work properly with `Symbol`s.\n\nMost common usage:\n```js\nvar trimStart = require('string.prototype.trimstart');\n\nassert(trimStart(' \\t\\na \\t\\n') === 'a \\t\\n');\n\nif (!String.prototype.trimStart) {\n\ttrimStart.shim();\n}\n\nassert(trimStart(' \\t\\na \\t\\n') === ' \\t\\na \\t\\n'.trimStart());\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/string.prototype.trimstart\n[npm-version-svg]: https://vb.teelaun.ch/es-shims/String.prototype.trimStart.svg\n[deps-svg]: https://david-dm.org/es-shims/String.prototype.trimStart.svg\n[deps-url]: https://david-dm.org/es-shims/String.prototype.trimStart\n[dev-deps-svg]: https://david-dm.org/es-shims/String.prototype.trimStart/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/String.prototype.trimStart#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/string.prototype.trimstart.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/string.prototype.trimstart.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/string.prototype.trimstart.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=string.prototype.trimstart\n[codecov-image]: https://codecov.io/gh/es-shims/String.prototype.trimStart/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/String.prototype.trimStart/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/String.prototype.trimStart\n[actions-url]: https://github.com/es-shims/String.prototype.trimStart/actions\n","publish_time":1693886707466,"_cnpm_publish_time":1693886707466,"dist-tags":{"latest":"1.0.8"}}