A node.js module to read properties config file.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
README.md
package.json
test.js
test.properties

README.md

##Purpose

node-properties is a node.js module to read properties config file.It will read properties and cast it to json.

##Tutorial

    var prop=require('node_properties');
    prop.read("./test.properties",function(err,config){
            if(err) throw err;
            console.log(config['option']);
    });

##API

    read(path,callback,[encoding]);
    callback function:
    function(err,data){...}