Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

wildfile

0.0.1 • Public • Published

Wildfile#

require('wildfile').find(__dirname,'../*/*.js',function (err,paths){
  console.log(paths)
})

stdout:

[ '../color/error.js',
'../color/example.js',
'../color/index.js',
'../color/style.js',
'../couches/add.js',
'../couches/aggregator.js',
'../couches/client.js',
'../couches/couch-listener.js',
'../couches/generate.js',
'../couches/hash.js',
'../couches/load.js',
'../couches/model.platform.synct.js',
'../couches/model.trial.synct.js',
'../couches/platforms.js',
'../couches/proxy.js',
'../couches/server.js',
'../couches/supervisor.js',
'../couches/view.js',
'../cradle-model/index.js',
'../cradle-model/odm.js',
'../ctrlflow/ctrlflow.js',
'../ctrlflow/index.js',
'../curry/curry.js',
'../curry/index.js',

... and so on, just like you do on the command line.

Keywords

none

install

npm i wildfile

Downloadsweekly downloads

0

version

0.0.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar