Current Path: > > lib > node_modules > npm > node_modules > path-parse > > >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
.travis.yml | File | 105 bytes | March 10 2021 14:36:40. | |
LICENSE | File | 1080 bytes | March 10 2021 14:36:40. | |
README.md | File | 871 bytes | March 10 2021 14:36:40. | |
index.js | File | 2586 bytes | March 10 2021 14:36:40. | |
package.json | File | 1496 bytes | March 10 2021 14:36:40. | |
test.js | File | 3720 bytes | March 10 2021 14:36:40. |
# 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)
SILENT KILLER Tool