![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | LICENSE | 2 years ago | 1.1K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | README.md | 2 years ago | 871 | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | index.js | 2 years ago | 2.5K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | package.json | 2 years ago | 1.4K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | test.js | 2 years ago | 3.6K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
Node.js
path.parse(pathString)
ponyfill.
$ 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