x-path
placeholder for node-x-extras.
Last updated 10 years ago by qiu8310 .
MIT · Bugs · Original npm · Tarball · package.json
$ gnpm install x-path 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.0.2                                ...           latest (10 years ago)

3 Versions

  • 0.0.2                                ...           10 years ago
  • 0.0.1                                ...           10 years ago
  • 0.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |