Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (21 loc) · 656 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 656 Bytes

node-application-data-path

Store your application data in the right location.

Installation

npm install --save application-data-path

Usage

var applicationDataPath = require('application-data-path')

// dataPath is a string with the path to a directory
// where you can store your data.
var dataPath = applicationDataPath('My App')

API

applicationDataPath(name)

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

Acknowledgments

Heavily inspired by node-application-config-path

License

MIT