Repositorio del curso CCOM4030 el semestre B91 del proyecto kilometro0
Luis f4296bcada project initialized il y a 5 ans
..
.travis.yml project initialized il y a 5 ans
LICENSE project initialized il y a 5 ans
README.md project initialized il y a 5 ans
index.js project initialized il y a 5 ans
package.json project initialized il y a 5 ans
test.js project initialized il y a 5 ans

README.md

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