Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.53 KB

README.md

File metadata and controls

54 lines (34 loc) · 1.53 KB

CBOR (@strangerlabs/cbor)

standard-readme compliant Build Status codecov

An ArrayBuffer implementation of CBOR for JavaScript

TODO: Fill out this long description.

This library is largely based on ARMmbed/cbor-sync.

Table of Contents

Security

NOTICE: This library is currently experimental, not officially supported and should not be used in any production setting.

Usage

// 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)

Maintainers

@EternalDeiwos

Contribute

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2019 Stranger Labs, Inc.

MIT © 2014 ARM Ltd.