PATH:
opt
/
alt
/
alt-nodejs19
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
@npmcli
/
git
/
lib
const is = require('./is.js') const { dirname } = require('path') module.exports = async ({ cwd = process.cwd() } = {}) => { if (await is({ cwd })) { return cwd } while (cwd !== dirname(cwd)) { cwd = dirname(cwd) if (await is({ cwd })) { return cwd } } return null }
[+]
..
[-] is-clean.js
[open]
[-] which.js
[open]
[-] revs.js
[open]
[-] make-error.js
[open]
[-] find.js
[open]
[-] errors.js
[open]
[-] utils.js
[open]
[-] index.js
[open]
[-] lines-to-revs.js
[open]
[-] is.js
[open]
[-] spawn.js
[open]
[-] clone.js
[open]
[-] opts.js
[open]