mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-24 22:54:46 +00:00
.
This commit is contained in:
parent
beb1329f9f
commit
2b95e76931
7736 changed files with 1874747 additions and 51184 deletions
30
node_modules/trim-right/readme.md
generated
vendored
Normal file
30
node_modules/trim-right/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
# trim-right [](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)
|
Loading…
Add table
Add a link
Reference in a new issue