forked from lix-project/lix-website
19 lines
467 B
Markdown
19 lines
467 B
Markdown
|
# 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.
|