Skip to content

matheus1lva/find-all-package-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

find-all-package-files

This scans all folders recursively (excluding node_modules) and outputs an array containing the location of all package.json files.

This is a dependency free, 20 lines module!

Installation

$ npm install find-all-package-files

Usage

const findAllPackages = require('find-all-package-files');
const files = findAllPackages();

This is going to use the current directory as the main root, if you want to start from any other place, just pass it to the function.

const findAllPackages = require('find-all-package-files');
const files = findAllPackages('./test/');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published