You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
467 B
19 lines
467 B
3 years ago
|
# lodash.truncate v4.4.2
|
||
|
|
||
|
The [lodash](https://lodash.com/) method `_.truncate` exported as a [Node.js](https://nodejs.org/) module.
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
Using npm:
|
||
|
```bash
|
||
|
$ {sudo -H} npm i -g npm
|
||
|
$ npm i --save lodash.truncate
|
||
|
```
|
||
|
|
||
|
In Node.js:
|
||
|
```js
|
||
|
var truncate = require('lodash.truncate');
|
||
|
```
|
||
|
|
||
|
See the [documentation](https://lodash.com/docs#truncate) or [package source](https://github.com/lodash/lodash/blob/4.4.2-npm-packages/lodash.truncate) for more details.
|