1.0.0 • Published 8 years ago
config-root v1.0.0
config-root
Exports the path to the user's config directory. Cross-platform; extracted from Yeoman's configstore.
example
const root = require('config-root')
// Most likely ~/.config or C:\Users\username\.config
console.log(root)
install
With npm do:
npm install config-root
license
BSD-2-Clause © ironSource. Original work © Google.
1.0.0
8 years ago