0.1.1 • Published 3 years ago

@govtechsg/jsonld v0.1.1

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
3 years ago

@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:

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 by cross-fetch