Current Path: > > usr > lib > node_modules > npm > > node_modules > > path-parse
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.38 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