path-format
Node.js
path.format(pathObject)
polyfill.
Install
$ npm install --save path-format
Usage
var pathFormat = ; //=> '/home/user/dir/file.txt'
API
pathFormat(path)
See path.format(pathObject)
docs.
pathFormat.posix(path)
The Posix specific version.
pathFormat.win32(path)
The Windows specific version.