config-root

1.0.0 • Public • Published

config-root

Exports the path to the user's config directory. Cross-platform; extracted from Yeoman's configstore.

npm status node

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.

Readme

Keywords

Package Sidebar

Install

npm i config-root

Weekly Downloads

2

Version

1.0.0

License

BSD-2-Clause

Last publish

Collaborators

  • it-ironsrc
  • kessler
  • vweevers