Sha256: d092ef6a3cb3d63789cc44c5508bfe4fabf63bc0a2eec8100f51701e39f9b08f

Contents?: true

Size: 871 Bytes

Versions: 207

Compression:

Stored size: 871 Bytes

Contents

# path-parse [![Build Status](https://travis-ci.org/jbgutierrez/path-parse.svg?branch=master)](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)

Version data entries

207 entries across 206 versions & 20 rubygems

Version Path
immosquare-cleaner-0.1.67 node_modules/path-parse/README.md
immosquare-cleaner-0.1.66 node_modules/path-parse/README.md
immosquare-cleaner-0.1.65 node_modules/path-parse/README.md
immosquare-cleaner-0.1.64 node_modules/path-parse/README.md
immosquare-cleaner-0.1.63 node_modules/path-parse/README.md
rapid_stack-0.2.0 templates/frontend/node_modules/path-parse/README.md
rapid_stack-0.1.1 templates/FrontEnd/node_modules/path-parse/README.md
rapid_stack-0.1.0 templates/FrontEnd/node_modules/path-parse/README.md
immosquare-cleaner-0.1.62 node_modules/path-parse/README.md
immosquare-cleaner-0.1.61 node_modules/path-parse/README.md
immosquare-cleaner-0.1.60 node_modules/path-parse/README.md
immosquare-cleaner-0.1.59 node_modules/path-parse/README.md
immosquare-cleaner-0.1.58 node_modules/path-parse/README.md
immosquare-cleaner-0.1.57 node_modules/path-parse/README.md
immosquare-cleaner-0.1.56 node_modules/path-parse/README.md
immosquare-cleaner-0.1.55 node_modules/path-parse/README.md
immosquare-cleaner-0.1.54 node_modules/path-parse/README.md
immosquare-cleaner-0.1.53 node_modules/path-parse/README.md
immosquare-cleaner-0.1.52 node_modules/path-parse/README.md
trusty-cms-6.3.1 node_modules/path-parse/README.md