@govtechsg/jsonld
v0.1.1
Published
A JSON-LD Processor and API implementation in JavaScript.
Downloads
6,249
Readme
@govtechsg/jsonld
Fork of https://github.com/digitalbazaar/jsonld.js
Installation
npm install @govtechsg/jsonld
Why forking?
The initial library uses an ESM only library which breaks in almost all our libraries:
open-attestation
requires a specific mock for tests. Same in other libraries.open-attestation-cli
can't use pkg, we had to customise the build step.- we faced another issue when using next.js + serverless build.
- there are probably more
Additional reads:
- https://github.com/digitalbazaar/jsonld.js/issues/451
- https://github.com/Nebulis/tech-stuff/issues/2
Additional information
- the build is broken as it is broken on the original repository
- we plan to reuse back
jsonld
as soon as it's possible, i.e. when all the tooling works correctly - we replaced
@digitalbazaar/http-client
bycross-fetch