organic-stem-skeleton-find-root
v2.0.1
Published
Finds the nearest parent directory containing `dna`. It is then considered as stem skeleton root directory returned as absolute path.
Readme
organic-stem-skeleton-find-root
Finds the nearest parent directory containing dna. It is then considered as stem skeleton root directory returned as absolute path.
Note that it starts searching from the path.dirname(process.cwd()), ie from the parent directory of the current working one.
usage
$ npm i organic-stem-skeleton-find-root --saveconst findSkeletonRoot = require('organic-stem-skeleton-root')
const monorepo_root = await findSkeletonRoot()