3
0
Fork 0
mirror of https://gitea.com/actions/setup-python.git synced 2024-11-29 13:39:35 +01:00
setup-python/node_modules/trim-right/readme.md
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00

30 lines
673 B
Markdown

# 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)