mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
25 lines
611 B
Markdown
25 lines
611 B
Markdown
# lodash.trimright v3.0.4
|
|
|
|
The [lodash](https://lodash.com/) method `_.trimRight` exported as a [Node.js](https://nodejs.org/) module.
|
|
|
|
## Discontinued
|
|
|
|
This package has been discontinued in favor of [lodash.trimend](https://www.npmjs.com/package/lodash.trimend).
|
|
|
|
## Installation
|
|
|
|
Using npm:
|
|
|
|
```bash
|
|
$ {sudo -H} npm i -g npm
|
|
$ npm i --save lodash.trimright
|
|
```
|
|
|
|
In Node.js/io.js:
|
|
|
|
```js
|
|
var trimRight = require('lodash.trimright');
|
|
```
|
|
|
|
See the [documentation](https://lodash.com/docs#trimRight) or [package source](https://github.com/lodash/lodash/blob/3.0.4-npm-packages/lodash.trimright) for more details.
|