Skip to content

An ArrayBuffer implementation of CBOR for JavaScript

Notifications You must be signed in to change notification settings

strangerlabs/cbor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An ArrayBuffer implementation of CBOR for JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published