entry-points
1.2.1 • Public • Published entry-points
Find a node module's possible entry points, like it's main
script and bin
scripts.
Example
var find = require('entry-points');
find(__dirname, function(err, entries){
console.log(entries);
});
There's also a cli for quick inspection:
$ npm install -g entry-points
$ entry-points
index.js
bin/foo
Installation
$ npm install entry-points
License
MIT
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.2.1
1
Version History
Package Sidebar
Install
Weekly Downloads