A Node.js Addon for the tinyCBOR Library
Node-tinycbor is a Node.js addon that allows use of the C-based tinyCBOR library in JavaScript programs. TinyCBOR is an implementation of Concise Binary Object Representation, an extremely light-weight data format.
The goal of node-tinycbor is to create a capable and powerful tool for encoding and decoding data with a minimal footprint, that competes with current solutions.
Currently, features supported by the addon include the following:
Encoding and decoding of numbers, strings, booleans, arrays, objects, nulls, and undefineds
CBOR to JSON conversion
CBOR to Text conversion
See how node-tinycbor compares to JSON and MessagePack