Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Open-Attestation/jsonld.js

 
 

Repository files navigation

@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

About

A JSON-LD Processor and API implementation in JavaScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Shell 0.1%