node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

lodash.truncate

lodash.truncate v4.4.2

The lodash method _.truncate exported as a Node.js module.

Installation

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash.truncate

In Node.js:

var truncate = require('lodash.truncate');

See the documentation or package source for more details.