UNPKG

trim-right

Version:

Similar to `String#trim()` but removes only whitespace on the right

40 lines (39 loc) 706 B
{ "name": "trim-right", "version": "2.0.0", "description": "Similar to `String#trim()` but removes only whitespace on the right", "license": "MIT", "repository": "sindresorhus/trim-right", "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" }, "files": [ "index.js" ], "keywords": [ "trim", "right", "string", "whitespace", "space", "remove", "delete", "end", "trailing" ], "devDependencies": { "ava": "^3.15.0", "xo": "^0.39.1" } }