a util package for node.js
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.
src
.gitattributes
.gitignore
README.md
package.json

README.md

jsutil.js

TODO

Installation

Using npm:

npm install jsutil

Usage:

var jsutil = require("jsutil");

var defaultOptions = {
	"host" : "xxx",
	"response_times" : "1",
	"response_mode" : "0"
};

var alphaOptions = jsutil.mixin({}, defaultOptions, {"user" : "alpha", "passwd" : "alpha"});

var devOptions = jsutil.mixin({}, defaultOptions, {"user" : "dev", "passwd" : "dev"});