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

@oslo-flanders/jsonld-context-generator

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oslo-flanders/jsonld-context-generator

Generates a JSON-LD context file from an OSLO-compliant RDF file

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
134
increased by34%
Maintainers
0
Weekly downloads
 
Created
Source

OSLO JSON-LD Context Generator

Given an OSLO-compliant RDF file, this tool generates a JSON-LD context file

Install

npm install @oslo-flanders/jsonld-context-generator

Global install

To use the service from the command line anywhere, you can install it globally.

npm install -g @oslo-flanders/jsonld-context-generator

API

The service is executed from the CLI and expects the following parameters:

ParameterDescriptionRequiredPossible values
--inputThe URL or local file path of an OSLO-compliant RDF file:heavy_check_mark:
--outputThe name of the output fileNo, defaults to context.jsonld
--languageThe language in which the context must be generated (labels):heavy_check_mark:
--addDomainPrefixPrefix every attribute with its domainNotrue or false (default)
--silentSuppress log messagesNotrue or false (default)
--scopedContextBoolean that decides to keep the @context scoped or notNotrue or false (default)

Usage

oslo-jsonld-context-generator --input report.jsonld --language nl
oslo-jsonld-context-generator --input https://data.vlaanderen.be/ns/adres.jsonld --language nl
oslo-jsonld-context-generator --input https://data.vlaanderen.be/ns/adres.jsonld --output context.jsonld --language nl --scopedContext true

FAQs

Package last updated on 17 Feb 2025

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc