error-message
success-message
saving-message
warning-message
JavaScript must be enabled.
There was an error retrieving this content.
The content could not be found.
Node.js path.parse(pathString) ponyfill.
path.parse(pathString)
$ npm install --save path-parse
var pathParse = require('path-parse'); pathParse('/home/user/dir/file.txt'); //=> { // root : "/", // dir : "/home/user/dir", // base : "file.txt", // ext : ".txt", // name : "file" // }
See path.parse(pathString) docs.
The Posix specific version.
The Windows specific version.
MIT © Javier Blanco
maintainer
npm
URL
Embed Link
QR Code
Confirm message?