{ "_id": "trim-right", "_rev": "3-0a6d39b1a543e96a4c98babe6e66bff5", "name": "trim-right", "description": "Similar to String#trim() but removes only whitespace on the right", "dist-tags": { "latest": "1.0.1" }, "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": "sindresorhus", "email": "sindresorhus@gmail.com" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "dist": { "shasum": "c59f9d6185e89f328687afdedddbecf0d8f2627c", "tarball": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.0.tgz" }, "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": "sindresorhus", "email": "sindresorhus@gmail.com" }, "dist": { "shasum": "cb2e1203067e0c8de1f614094b9fe45704ea6003", "tarball": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz" }, "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "directories": {} } }, "readme": "# trim-right [![Build Status](https://travis-ci.org/sindresorhus/trim-right.svg?branch=master)](https://travis-ci.org/sindresorhus/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\n## Install\n\n```\n$ npm install --save trim-right\n```\n\n\n## Usage\n\n```js\nvar trimRight = require('trim-right');\n\ntrimRight(' unicorn ');\n//=> ' unicorn'\n```\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\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "time": { "modified": "2015-07-15T20:19:55.126Z", "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" }, "homepage": "https://github.com/sindresorhus/trim-right", "keywords": [ "trim", "right", "string", "str", "util", "utils", "utility", "whitespace", "space", "remove", "delete" ], "repository": { "type": "git", "url": "https://github.com/sindresorhus/trim-right" }, "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/trim-right/issues" }, "license": "MIT", "readmeFilename": "readme.md", "_attachments": {} }