Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

path-parse

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Issues
File Explorer

Advanced tools

path-parse

Node.js path.parse() ponyfill

    1.0.7latest

Version published
Maintainers
1
Weekly downloads
30,807,722
decreased by-11.48%

Weekly downloads

Readme

Source

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

Keywords

FAQs

What is path-parse?

Node.js path.parse() ponyfill

Is path-parse popular?

The npm package path-parse receives a total of 24,773,053 weekly downloads. As such, path-parse popularity was classified as popular.

Is path-parse well maintained?

We found that path-parse demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 25 May 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc