{"name":"string.prototype.trimend","version":"1.0.10","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.trimEnd shim.","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run lint","test":"npm run tests-only","posttest":"npx npm@'>= 10.2' audit --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.trimEnd.git"},"keywords":["es6","es7","es8","javascript","prototype","polyfill","utility","trim","trimLeft","trimRight","trimStart","trimEnd","tc39"],"dependencies":{"call-bind":"^1.0.9","call-bound":"^1.0.4","define-properties":"^1.2.1","es-object-atoms":"^1.1.2"},"devDependencies":{"@es-shims/api":"^2.5.1","@ljharb/eslint-config":"^22.2.3","auto-changelog":"^2.6.0","eslint":"^8.57.1","functions-have-names":"^1.2.3","has-strict-mode":"^1.1.0","in-publish":"^2.0.1","npmignore":"^0.3.5","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"engines":{"node":">= 0.4"},"gitHead":"9f316ac605e94df4e34c54049be6eb18d3bae83c","_id":"string.prototype.trimend@1.0.10","bugs":{"url":"https://github.com/es-shims/String.prototype.trimEnd/issues"},"homepage":"https://github.com/es-shims/String.prototype.trimEnd#readme","_nodeVersion":"26.3.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-2+3aDAOmPTmuFwjDnmJG2ctEkQKVki7vOSqaxkv42Mowj1V6PnvuwFCRrR5lChUux1TBskPjfkeTOhqczDMxTw==","shasum":"be6bcf4f3fe0460bdeccdb2cf4f971b310f8346e","tarball":"http://registry-npm.ywwl.com/string.prototype.trimend/download/string.prototype.trimend-1.0.10.tgz","fileCount":16,"unpackedSize":25276,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDlAODsEI2ciymiqOT9+aA/GMlR96fYtFKDr0OqeK9OmAIhAL80uosf4xYxYomc6+mRSoD9IE07FC+9kCZIyFyjmEkd"}],"size":8627,"noattachment":false,"key":"/string.prototype.trimend/-/string.prototype.trimend-1.0.10.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-npm-production","tmp":"tmp/string.prototype.trimend_1.0.10_1780726799648_0.12527315989265886"},"_hasShrinkwrap":false,"readme":"# String.prototype.trimEnd <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-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.trimEnd` shim. Invoke its \"shim\" method to shim `String.prototype.trimEnd` 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 trimEnd = require('string.prototype.trimend');\n\nassert(trimEnd(' \\t\\na \\t\\n') === 'a \\t\\n');\n\nif (!String.prototype.trimEnd) {\n\ttrimEnd.shim();\n}\n\nassert(trimEnd(' \\t\\na \\t\\n ') === ' \\t\\na \\t\\n '.trimEnd());\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/string.prototype.trimend\n[npm-version-svg]: https://vb.teelaun.ch/es-shims/String.prototype.trimEnd.svg\n[deps-svg]: https://david-dm.org/es-shims/String.prototype.trimEnd.svg\n[deps-url]: https://david-dm.org/es-shims/String.prototype.trimEnd\n[dev-deps-svg]: https://david-dm.org/es-shims/String.prototype.trimEnd/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/String.prototype.trimEnd#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/string.prototype.trimend.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/string.prototype.trimend.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/string.prototype.trimend.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=string.prototype.trimend\n[codecov-image]: https://codecov.io/gh/es-shims/String.prototype.trimEnd/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/String.prototype.trimEnd/\n[actions-image]: https://img.shields.io/github/check-runs/es-shims/String.prototype.trimEnd/main\n[actions-url]: https://github.com/es-shims/String.prototype.trimEnd/actions\n","publish_time":1780726799765,"_cnpm_publish_time":1780726799765,"dist-tags":{"latest":"1.0.10"}}