- Notifications
You must be signed in to change notification settings - Fork38
Node.js path.parse() ponyfill
License
NotificationsYou must be signed in to change notification settings
jbgutierrez/path-parse
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Node.js
path.parse(pathString)
ponyfill.
$ npm install --save path-parse
varpathParse=require('path-parse');pathParse('/home/user/dir/file.txt');//=> {// root : "/",// dir : "/home/user/dir",// base : "file.txt",// ext : ".txt",// name : "file"// }
Seepath.parse(pathString)
docs.
The Posix specific version.
The Windows specific version.
MIT ©Javier Blanco
About
Node.js path.parse() ponyfill
Resources
License
Stars
Watchers
Forks
Packages0
No packages published