listjs
0.1.1 • Public • Published listjs
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);
});
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.1.1
128
Version History
Package Sidebar
Install
Weekly Downloads