Extract CommonJS required module names in JS code
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.npmignore
.travis.yml
README.md
index.js
package.json

README.md

extract-required

Build Status

Scan all CommonJS require() calls in a JS code and extract module names as a list. Relative calls are resolved and changed to a path from base directory.