npm.io
2.0.1 • Published 6 years ago

organic-stem-skeleton-find-root

Licence
MIT
Version
2.0.1
Deps
1
Size
3 kB
Vulns
0
Weekly
0

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()