npm.io
1.0.0 • Published 3 years ago

application-config-path

Licence
MIT
Version
1.0.0
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
29

node-application-config-path

Store your application config in the right location.

Installation

npm install --save application-config-path

Usage

import applicationConfigPath from 'application-config-path'

// cfgPath is a string with the path to a directory
// where you can store your config.
const cfgPath = applicationConfigPath('My App')

API

applicationConfigPath(name)

Return a string with the path to a directory where you can store your application specific config.

License

MIT