1.1.6 • Published 8 years ago

pconf v1.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

#pConf

##Install

###Install with npm

npm install pconf

##Requirements

This library will only work if you have access to your computers HOME directory, which in the most cases is where your user is located. To run a project with pconf, you need to have a package.json for your project, and start it with npm start.

##How to use

var Config = require("pconf");

var testConfig = new Config("testConfig");

testConfig.onload = function(){

  testConfig.setValue("test", 1, true); // key, value, (autosave, default=true)

  console.log(testConfig.getValue("test")); //Returns value of key, if it is unset, it will return undefined.

  testConfig.saveConfig(); // Saves the config

};

##Author

####Per Henrik Jakobsson

##License

Copyright (c) 2016 Per Henrik Jakobsson

Released under the MIT license

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago