listjs

0.1.1 • 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);
});

/listjs/

    Package Sidebar

    Install

    npm i listjs

    Weekly Downloads

    89

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    3.03 kB

    Total Files

    4

    Last publish

    Collaborators

    • helio-frota