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