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