https://github.com/linusu/node-application-config-path
Store your application config in the right location.
https://github.com/linusu/node-application-config-path
Last synced: 8 months ago
JSON representation
Store your application config in the right location.
- Host: GitHub
- URL: https://github.com/linusu/node-application-config-path
- Owner: LinusU
- License: mit
- Created: 2015-07-17T18:21:54.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T14:08:36.000Z (over 3 years ago)
- Last Synced: 2025-09-23T03:42:57.283Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 29
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# node-application-config-path
Store your application config in the right location.
## Installation
```bash
npm install --save application-config-path
```
## Usage
```javascript
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