PATH:
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
bin-links
/
lib
const { dirname } = require('path') const getNodeModules = require('./get-node-modules.js') module.exports = path => dirname(getNodeModules(path))
[-] bin-target.js
[edit]
[-] link-gently.js
[edit]
[+]
..
[-] link-bin.js
[edit]
[-] check-bins.js
[edit]
[-] get-prefix.js
[edit]
[-] fix-bin.js
[edit]
[-] man-target.js
[edit]
[-] is-windows.js
[edit]
[-] shim-bin.js
[edit]
[-] index.js
[edit]
[-] link-bins.js
[edit]
[-] link-mans.js
[edit]
[-] check-bin.js
[edit]
[-] get-node-modules.js
[edit]
[-] get-paths.js
[edit]