Skip to content

Files

Latest commit

Jan 6, 2023
3894f27 · Jan 6, 2023

History

History
29 lines (18 loc) · 544 Bytes

readme.md

File metadata and controls

29 lines (18 loc) · 544 Bytes

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