How to use read-package-tree - 1 common examples

To help you get started, we’ve selected a few read-package-tree examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github taichi / ci-yarn-upgrade / src / promise / read-package-tree.js View on Github external
return new Promise((resolve, reject) => {
        rpt(pathToRoot, filter, (err, data) => {
            if (err) {
                reject(err);
            } else {
                resolve(data);
            }
        });
    });
}

read-package-tree

Read the contents of node_modules.

ISC
Latest version published 5 years ago

Package Health Score

46 / 100
Full package analysis

Popular read-package-tree functions

Similar packages