README
get-packages-recursive
Audit a directory recursive to find out every package.json Resolves the name and the version.
Install
npm i get-packages-recursive
Example
const getInfo = require('get-packages-recursive');
const info = getInfo(path)
console.log(info);