digitalbazaar / cborld

A Javascript CBOR-LD processor for web browsers and Node.js apps.
https://json-ld.github.io/cbor-ld-spec/
BSD 3-Clause "New" or "Revised" License
20 stars 16 forks source link

Update README to recommend using new API params `typeTable` and `registryEntryId` #92

Open dlongley opened 2 months ago

dlongley commented 2 months ago

See: https://github.com/digitalbazaar/cborld/blob/v7.1.0/lib/encode.js#L19-L25

Update examples in the spec to use the new API and move the old examples to a legacy section.