{"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"keywords":["trim","right","string","whitespace","space","remove","delete","end","trailing"],"dist-tags":{"latest":"2.0.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"description":"Similar to `String#trim()` but removes only whitespace on the right","readme":"# trim-right\n\n> Similar to [`String#trim()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim) but removes only whitespace on the right\n\n## Install\n\n```\n$ npm install trim-right\n```\n\n## Usage\n\n```js\nimport trimRight from 'trim-right';\n\ntrimRight('  unicorn  ');\n//=> '  unicorn'\n```\n\n## Related\n\n- [`trim-left`](https://github.com/sindresorhus/trim-left) - Similar to `String#trim()` but removes only whitespace on the left\n- [`trim-off-newlines`](https://github.com/stevemao/trim-off-newlines) - Similar to `String#trim()` but removes only newlines\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-trim-right?utm_source=npm-trim-right&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","repository":{"type":"git","url":"git+https://github.com/sindresorhus/trim-right.git"},"bugs":{"url":"https://github.com/sindresorhus/trim-right/issues"},"license":"MIT","versions":{"1.0.0":{"name":"trim-right","version":"1.0.0","description":"Similar to String#trim() but removes only whitespace on the right","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/trim-right"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["trim","right","string","str","util","utils","utility","whitespace","space","remove","delete"],"devDependencies":{"ava":"0.0.4"},"gitHead":"24d7eef85e9faf926af7a74403ff3122d020c30b","bugs":{"url":"https://github.com/sindresorhus/trim-right/issues"},"homepage":"https://github.com/sindresorhus/trim-right","_id":"trim-right@1.0.0","_shasum":"c59f9d6185e89f328687afdedddbecf0d8f2627c","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"c59f9d6185e89f328687afdedddbecf0d8f2627c","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/trim-right/-/trim-right-1.0.0.tgz","integrity":"sha512-1w0snO+bUA1lY/xohGzY3Sl7SXI/1zhGCzjkCCYaqSuvXaMy9lXF3wZx0O37bDRgHbs0x40NPi9PD6+vh6jDKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgtUl2LXz/CM4kzqV69w8oabUHCB77bHeK94oxC8X9cgIgccclMby9MIpZqsxfSVa/jZB6QTCDVR3ygvoqs6fux/g="}]},"directories":{}},"1.0.1":{"name":"trim-right","version":"1.0.1","description":"Similar to String#trim() but removes only whitespace on the right","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/trim-right"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["trim","right","string","str","util","utils","utility","whitespace","space","remove","delete"],"devDependencies":{"ava":"0.0.4"},"gitHead":"105fb46669afb0deb49d14bd688b276297e59dff","bugs":{"url":"https://github.com/sindresorhus/trim-right/issues"},"homepage":"https://github.com/sindresorhus/trim-right","_id":"trim-right@1.0.1","_shasum":"cb2e1203067e0c8de1f614094b9fe45704ea6003","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"shasum":"cb2e1203067e0c8de1f614094b9fe45704ea6003","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/trim-right/-/trim-right-1.0.1.tgz","integrity":"sha512-WZGXGstmCWgeevgTL54hrCuw1dyMQIzWy7ZfqRJfSmJZBwklI15egmQytFP6bPidmw3M8d5yEowl1niq4vmqZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB4zXqXuqLpYgI6bPontDdfQngu2g4U8a8UHBhoXxluaAiEAkKZ5EP2gJKSjeV85WPk2dabzrxO5V6+9L9P+zbwU7YA="}]},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"trim-right","version":"2.0.0","description":"Similar to `String#trim()` but removes only whitespace on the right","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/trim-right.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava"},"keywords":["trim","right","string","whitespace","space","remove","delete","end","trailing"],"devDependencies":{"ava":"^3.15.0","xo":"^0.39.1"},"gitHead":"73ea799f19070ec45801c6c17f432d1ebf526bad","bugs":{"url":"https://github.com/sindresorhus/trim-right/issues"},"homepage":"https://github.com/sindresorhus/trim-right#readme","_id":"trim-right@2.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.10","_npmUser":{"name":"anonymous","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-9oGt49eXLpDY8XbEjVvEH0uSf8hAL08jt+bMy+3v3ad/d/5bDlKa0rfSaT5GI4dLIUtklsLGtoUfFNYqpqX7rQ==","shasum":"19f987a2fca0c81b46ab72a54e0e4d41e099d689","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/trim-right/-/trim-right-2.0.0.tgz","fileCount":4,"unpackedSize":3027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggARXCRA9TVsSAnZWagAABA8P/07an1I/6IE1VZp31lBF\n4J6xa9pwQoazFjyvuyWhX2fV0K2gyQ7cmCDQ1GEohU3r8K/Y3buNUCvLKX9V\nWHQ92S4YycjydHlX89mXbpeDB8clBpPIt7yF/YogF2Ec6rtTnJuy7XDXdoDC\nynNVfoD+QUHTzXTbgckoOe7TMFJOKhL7H2+IXDZ6BRTFqaYIOkAB9LkgiE1i\nGCBsvLHVLK83/JVMNKX8ZC7f/V0QOyK7TtNrkqZ2/sRVlMUy8/4yS4Zbv9jE\nH59qzQ9m69IK5oSCSbYhzEN2ur0veHX+0VPpOEp5Z6L6tq6lIFcKWu3sDcU9\nx/NSJQy9aBMOxRIP5AtRgEh+0Hi9fwOyQs0tSswR9ZDRCiNdxLHHSyI+HU9K\ntToG5M3CpHz7p83sC5aL+/2McCkoQ+UCFlV4QBR996CVir/jE1Z2N6Y/GsqA\nA/b9IWblzzXAVcjtshmZbeAH9xMLjLhVImc4XqA0TN+27WIyEijoNW9wss+e\nWC2LRd0U47rwPU+PD2NQSQM41yMhPTgCaN5MykXbrfCxZlwf3EBknSRDtdtE\nimugKdgdyv/PFA9QOZTs4fyun7XIXqXVsOBo3sZgh2oWOIfZdcdiRA2dnG6P\nqqgBEyijCRYXv/jfFVq8gXixg6KPOka+UB9D+5sKKxix+DbQOqJpzEaNTOPU\nAWLK\r\n=dMBl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgKfxhe1d8jCLz+8qaHBupn+BPG8qagSBNa+vOYtgcHAiEAl3fSq33Pdmo9r5cnS4smZErfzoBOcaHq0UmcABqCcRc="}]},"directories":{},"maintainers":[{"name":"anonymous","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trim-right_2.0.0_1619002454921_0.6349658169530177"},"_hasShrinkwrap":false,"deprecated":"Deprecated. Use `String#trimEnd()` instead."}},"name":"trim-right","time":{"modified":"2022-06-27T21:23:28.456Z","created":"2015-02-17T03:52:37.807Z","1.0.0":"2015-02-17T03:52:37.807Z","1.0.1":"2015-07-15T20:19:55.126Z","2.0.0":"2021-04-21T10:54:15.051Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/trim-right#readme"}