New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@govtechsg/jsonld

Package Overview
Dependencies
Maintainers
9
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govtechsg/jsonld

A JSON-LD Processor and API implementation in JavaScript.

0.1.1
latest
Source
npm
Version published
Weekly downloads
1.6K
20.01%
Maintainers
9
Weekly downloads
 
Created
Source

@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

Keywords

JSON

FAQs

Package last updated on 17 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts