{"name":"string.prototype.padstart","version":"3.1.7","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"description":"ES2017 spec-compliant String.prototype.padStart shim.","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","pretest":"npm run lint","test":"npm run tests-only","posttest":"npx npm@\">= 10.2\" audit --production","tests-only":"nyc tape 'test/**/*.js'","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","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.padStart.git"},"keywords":["String.prototype.padLeft","String.prototype.padStart","string","ES8","ES2017","shim","trim","padLeft","padRight","padStart","padEnd","polyfill","es-shim API"],"dependencies":{"call-bind":"^1.0.8","call-bound":"^1.0.4","define-properties":"^1.2.1","es-abstract":"^1.23.9","es-object-atoms":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.5.1","@ljharb/eslint-config":"^21.1.1","auto-changelog":"^2.5.0","encoding":"^0.1.13","eslint":"=8.8.0","functions-have-names":"^1.2.3","has-strict-mode":"^1.1.0","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0"},"testling":{"files":"test/index.js","browsers":["iexplore/9.0..latest","firefox/4.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/11.6..latest","opera/next","safari/5.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true,"startingVersion":"3.1.4"},"publishConfig":{"ignore":[".github/workflows"]},"_id":"string.prototype.padstart@3.1.7","gitHead":"d2727d8c6a12ba67b9d9c6e8547869a88662c599","bugs":{"url":"https://github.com/es-shims/String.prototype.padStart/issues"},"homepage":"https://github.com/es-shims/String.prototype.padStart#readme","_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-hc5ZFzw8H2Bl4AeHxE5s+CniFg+bPcr7lRRS189GCM6KhJQBACNRhtMsdcnpBNbjc1XisnUOqbP0c94RZU4GCw==","shasum":"529bae9f07186fb0fc6e0709b7f9b1f942aa09d1","tarball":"http://registry-npm.ywwl.com/string.prototype.padstart/download/string.prototype.padstart-3.1.7.tgz","fileCount":17,"unpackedSize":19211,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEQXVTTKO3ExQLy8VjJJtldxBsLk7+Ih8youPmnZ8OuYAiAaGgqlz8+mPa2n91uGr8AiLRKdNJHK46S+JJo3+sjreg=="}],"size":6912,"noattachment":false,"key":"/string.prototype.padstart/-/string.prototype.padstart-3.1.7.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/string.prototype.padstart_3.1.7_1741931286076_0.26016511826250155"},"_hasShrinkwrap":false,"readme":"# String.prototype.padStart <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 ES2017 spec-compliant `String.prototype.padStart` shim. Invoke its \"shim\" method to shim `String.prototype.padStart` 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://github.com/tc39/ecma262/pull/581).\n\nMost common usage:\n```js\nvar padStart = require('string.prototype.padstart');\n\nassert(padStart('foo', 5, 'bar') === 'bafoo');\n\npadStart.shim();\n\nassert(padStart('foo', 2) === 'foo'.padStart(2));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/string.prototype.padstart\n[npm-version-svg]: http://versionbadg.es/es-shims/String.prototype.padStart.svg\n[travis-svg]: https://travis-ci.org/es-shims/String.prototype.padStart.svg\n[travis-url]: https://travis-ci.org/es-shims/String.prototype.padStart\n[deps-svg]: https://david-dm.org/es-shims/String.prototype.padStart.svg\n[deps-url]: https://david-dm.org/es-shims/String.prototype.padStart\n[dev-deps-svg]: https://david-dm.org/es-shims/String.prototype.padStart/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/String.prototype.padStart#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/string.prototype.padstart.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/string.prototype.padstart.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/string.prototype.padstart.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=string.prototype.padstart\n[codecov-image]: https://codecov.io/gh/es-shims/String.prototype.padStart/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/String.prototype.padStart/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/String.prototype.padStart\n[actions-url]: https://github.com/es-shims/String.prototype.padStart/actions\n","publish_time":1741931286272,"_cnpm_publish_time":1741931286272,"dist-tags":{"latest":"3.1.7"}}