path-parse

Node.js path.parse() ponyfill

path-parse downloads path-parse version path-parse license

path-parse类似的npm包:

npm下载趋势

3 年
🌟 在 path-parse 的 README.md 中显示实时使用量图表,只需复制下面的代码。
## Usage Trend
[![Usage Trend of path-parse](https://npm-compare.com/img/npm-trend/THREE_YEARS/path-parse.png)](https://npm-compare.com/path-parse#timeRange=THREE_YEARS)

Cumulative GitHub Star Trend

🌟 在 path-parse 的 README.md 中显示 GitHub stars 趋势图表,只需复制下面的代码。
## GitHub Stars Trend
[![GitHub Stars Trend of path-parse](https://npm-compare.com/img/github-trend/path-parse.png)](https://npm-compare.com/path-parse)

统计详情

npm包名称
下载量
Stars
大小
Issues
发布时间
License
path-parse056-85 年前MIT

path-parse的README

path-parse Build Status

Node.js path.parse(pathString) ponyfill.

Install

$ npm install --save path-parse

Usage

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) docs.

pathParse(path)

pathParse.posix(path)

The Posix specific version.

pathParse.win32(path)

The Windows specific version.

License

MIT © Javier Blanco