listjs

v0.1.1
Display all JS files of a Node.js project.
list js files project

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);
});
npm i listjs

Metadata

  • MIT
  • Whatever
  • Helio Frota
  • released 7/17/2018

Downloads

Maintainers