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

listjs

0.1.0 • Public • Published

listjs

Build Status

Display all JS files of a Node.js project.

Install

npm install listjs -S

Usage

const listJS = require('./listjs');
 
const ignore = ['bower_components', 'foo', 'test'];
 
listJS('project/path/here', ignore)
.then((files) => {
  console.log(files);
})
.catch((e) => {
  console.error(e);
});

install

npm i listjs

Downloadsweekly downloads

3

version

0.1.0

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar