JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 102818
  • Score
    100M100P100Q180884F
  • License MIT

path-extra contains methods that aren't included in the vanilla Node.js path package.

Package Exports

  • path-extra

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (path-extra) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Node.js: path-extra

This module simply modifies the Node.js 'path' object with extra methods. It is a drop in replacement for the path module.

Installation

$ npm install path-extra

Usage

var path = require('path-extra');

You can still use all of the vanilla Node.js path methods.

Methods:

path.tempdir() // returns a temporary directory that is operating system specific
path.homedir() // returns the user's home directory
path.datadir(appname) // returns a directory to store data in for an app with the given name

License

(The MIT License)

Copyright (c) 2011-2015 JP Richardson