@cuties/path
Cutie extension for path module in Node.
Last updated a year ago by guseyn .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @cuties/path 
SYNC missed versions from official npm registry.

cutie-path

NPM Version Build Status codecov

Cutie extension for path module in Node. It's based on the Async Tree Pattern.

Examples

You can find examples of using this library in the test directory.

Install

npm install @cuties/path

Run test

npm test

Run build

npm run build

Usage

const {
  // Needed async objects here from the table below
} = require('@cuties/path');

For more information about parameters in the async objects visit docs of Node for path module.

Async Object Async/sync call Parameters(default value/description) Representation result
Basename path.basename path, ext string
Dirname path.dirname path string
Extname path.extname path string
Format path.format pathObject string
IsAbsolute path.isAbsolute path boolean
JoinedPaths path.join ...paths string
NamespacedPath path.toNamespacedPath path string
NormalizedPath path.normalize path string
ParsedPath path.parse path object
RelativePath path.relative from, to string
ResolvedPath path.resolve ...paths string

Current Tags

  • 1.1.1                                ...           latest (a year ago)

8 Versions

  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (6)

Copyright 2014 - 2016 © taobao.org |