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