list-projects
Given a root path, recursively searches subdirectories and lists basic information about node projects
npm install list-projects
The only function is listProjects
which returns an array of Project
objects.
If the project is contained in a folder containing a .git
directory (a git repo) then the name of the repo directory will be included.
TypeScript:
; ;
JavaScript:
const listProjects = ;const projects = ;
I'm open to extending this to return other information about the directory, adding flags/options, etc.