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.
Downloads
341
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 --save
const findSkeletonRoot = require('organic-stem-skeleton-root')
const monorepo_root = await findSkeletonRoot()