Node Keyjson

a binary JSON encoding whose byte-strings have an awesome property
Alternatives To Node Keyjson
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Awesome Video1,332
a month ago6cc0-1.0HTML
A curated list of awesome streaming video tools, frameworks, libraries, and learning resources.
Vim Practice528
a year ago4otherVim Script
💘 Vim is awesome! Here is my practice and study log.
Awesome Fortran252
4 years ago2mit
Awesome list of Fortran libs
Node Keyjson2
13 years agoPython
a binary JSON encoding whose byte-strings have an awesome property
Alternatives To Node Keyjson
Select To Compare


Alternative Project Comparisons
Readme

What is keyjson?

It's awesome. See keyjson.org

Installing

npm install keyjson

Usage / API

"Software using Semantic Versioning MUST declare a public API. [...]
However it is done, it should be precise and comprehensive."

"Version 1.0.0 defines the public API"

The following plus keyjson.org should be precise and comprehensive enough:

keyjson = require('keyjson');

{stringify,parse}

buffer = keyjson.stringify(['enwiki', 'Hacker News', 1729000]);
x = keyjson.parse(buffer);

b64{en,de}code

string = keyjson.b64encode(buffer_or_array_of_octets);
buffer = keyjson.b64decode(string_or_buffer); // padding is not optional.

{stringify,parse}64

keyjson.stringify64(x) == keyjson.b64encode(
                            keyjson.stringify(x))

keyjson.parse64(sb) == keyjson.parse(
                            keyjson.b64decode(sb))

Developing

Prereqs

python make.py
node test.js
Popular Encoding Projects
Popular Awesome List Projects
Popular Data Formats Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Awesome List
Encoding
Stringify
Closure Compiler