node-application-config-path

Store your application config in the right location.

MIT License

Downloads
3.7M
Stars
29
Committers
3

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