dep-ls

0.0.1 • Public • Published

dep-ls

Returns an event emitter that will emit a dependency event with every dependency of a given project. It does this recursively.

The following might emit every dependency of your current project:

var depLS = require("dep-ls");

var emitter = depLS(__dirname);

emitter.on('dependency', function(dir){
    console.log(dir);
});

/dep-ls/

    Package Sidebar

    Install

    npm i dep-ls

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • justinbmeyer