@transmute/cbor-ld
v0.7.0-unstable.51
Published
🚧 This module is currently under heavy constuction.
Downloads
35
Readme
@transmute/cbor-ld
🚧 This module is currently under heavy constuction.
Assume it is non functional for now, and use digitalbazaar/cborld instead.
We're working through their implementation to extract some interoperabiity tooling for the codecs and contexts and associated test vectors, as well as trying to reduce dependencies and ensure support for typescript and jest / tsdx.
Currently things are non function.
🚧 Seriously, just use this library instead digitalbazaar/cborld
npm i @transmute/cbor-ld@latest --save
Usage
import { encode, decode } from '@transmute/cbor-ld';
const encoded = await encode(document, documentLoader);
const decoded = await decode(encoded, documentLoader);
About
This module is based on / interoperable with digitalbazaar/cborld.
Some adjustments needed to be made to support typescript and jest.