config-root
v1.0.0
Published
Get the users config directory, cross-platform
Downloads
5
Readme
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.