zpath

0.5.2 • Public • Published

zpath

create path from string

samples

var zpath = require("zpath");
 
// return src\scripts\**\*.js
zpath.make("src scripts ** *.js");
 
// create paths with root=src and root=build
var src = zpath.create("src");
var build = zpath.create("build");
 
// return src\scripts\**\*.js
src.make("scripts ** *.ts");
 
// return src\views\**\*.pug
src.make("views ** *.pug");
 
// return build
build.make();
 
// return build\js
build.make("js");

Package Sidebar

Install

npm i zpath

Weekly Downloads

2

Version

0.5.2

License

MIT

Last publish

Collaborators

  • deliero