This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/trim-right/readme.md

31 lines
673 B
Markdown
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
# trim-right [![Build Status](https://travis-ci.org/sindresorhus/trim-right.svg?branch=master)](https://travis-ci.org/sindresorhus/trim-right)
> 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
## Install
```
$ npm install --save trim-right
```
## Usage
```js
var trimRight = require('trim-right');
trimRight(' unicorn ');
//=> ' unicorn'
```
## Related
- [`trim-left`](https://github.com/sindresorhus/trim-left) - Similar to `String#trim()` but removes only whitespace on the left
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)