Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

x-path

node-x-extras320kMIT0.0.2

An extention for native node path module.

x-path, path-extras, path-extra, path, extra, extend, npm-path, path-extend

readme

x-path

NPM version Build Status Dependency Status Code Climate Coverage Status

An extention for native node path module.

Install

$ npm install --save x-path

Usage

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

path.isAbsolutePath(somePath)
path.isRelativePath(somePath)

API

isAbsolutePath

isRelativePath

isRootDirectory

unifyPathSeparate

normalizePathSeparate

isDirectory

isFile

isDirectorySync

isFileSync

And three more come from path-extra

  • tempdir
  • homedir
  • datadir

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using gulp.

License

Copyright (c) 2015 Node X Extras. Licensed under the MIT license.

changelog

0.0.1 / 2015-03-21

  • Initial version