$ npm install lodash.trim
The lodash method _.trim exported as a Node.js module.
_.trim
Using npm:
$ {sudo -H} npm i -g npm $ npm i --save lodash.trim
In Node.js:
var trim = require('lodash.trim');
See the documentation or package source for more details.