Narcissistic Project Managers
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

path-extras

1.2.0 • Public • Published

path-extras

A drop-in replacement for the path module. Provide more methods and Browserify aware.

Installation

npm install path-extras

API

path.isAbsolute()

path.isAbsolute() is added in Node 0.11. This is a shim.

path.isDir()

Test if path is ended with a slash.

path.foldername()

Like dirname, but return the original path if it's ended with a slash.

Keywords

none

install

npm i path-extras

Downloadsweekly downloads

5

version

1.2.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability