An ArrayBuffer implementation of CBOR for JavaScript
TODO: Fill out this long description.
This library is largely based on ARMmbed/cbor-sync.
NOTICE: This library is currently experimental, not officially supported and should not be used in any production setting.
// Note: this library is currently unpublished
const CBOR = require('@strangerlabs/cbor')
const input = { foo: 'bar' }
const buffer = CBOR.encode(input)
const decoded = CBOR.decode(buffer)
assert.deepEqual(decoded, input)
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
MIT © 2019 Stranger Labs, Inc.
MIT © 2014 ARM Ltd.