Skip to content

Bacra/node-jsonk

Repository files navigation

JSONK

Common Extended JSON.

NPM Version NPM Downloads Build Status Coveralls Dependencies NPM License

Install

npm install jsonk --save

Useage

var jk = require('jsonk');
var input = {
	string: 'string',
	number: 1111,
	buffer: new Buffer('123key')
};

var output = {
	jsonk_data: {
		string: 'string',
		number: 1111,
		buffer: {
			k: 'Buffer',
			v: 'MTIza2V5'
		}
	}
};

jk.stringify(input);
jk.parse(output);

About

Common Extended JSON.

Resources

Stars

Watchers

Forks

Packages

No packages published