/
home
/
techb158
/
balavpn.abdallabala.com
/
node_modules
/
path-parse
/
/home/techb158/balavpn.abdallabala.com/node_modules/path-parse
mkdir
upload
Name
Size
Mode
Actions
index.js
1893
0666
edit
dl
rm
LICENSE
1080
0666
edit
dl
rm
package.json
667
0666
edit
dl
rm
README.md
871
0666
edit
dl
rm
Edit:
/home/techb158/balavpn.abdallabala.com/node_modules/path-parse/README.md
(871B)
# path-parse [](https://travis-ci.org/jbgutierrez/path-parse) > Node.js [`path.parse(pathString)`](https://nodejs.org/api/path.html#path_path_parse_pathstring) [ponyfill](https://ponyfill.com). ## Install ``` $ npm install --save path-parse ``` ## Usage ```js var pathParse = require('path-parse'); pathParse('/home/user/dir/file.txt'); //=> { // root : "/", // dir : "/home/user/dir", // base : "file.txt", // ext : ".txt", // name : "file" // } ``` ## API See [`path.parse(pathString)`](https://nodejs.org/api/path.html#path_path_parse_pathstring) docs. ### pathParse(path) ### pathParse.posix(path) The Posix specific version. ### pathParse.win32(path) The Windows specific version. ## License MIT © [Javier Blanco](http://jbgutierrez.info)
Save
cmd:
run