Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rdfjs/dataset

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rdfjs/dataset

An indexed implementation of the RDF/JS Dataset

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
46K
increased by9.32%
Maintainers
1
Weekly downloads
 
Created
Source

@rdfjs/dataset

build status npm version

An indexed implementation of the RDF/JS Dataset based on the great work by Ruben Verborgh in N3.js.

Usage

Use the following command to add the package as a dependency to your project:

npm install @rdfjs/dataset --save

The main entry point of the package exports an RDF/JS DatasetCoreFactory instance. See the following lines on how to import and use the library:

import dataFactory from '@rdfjs/data-model'
import datasetFactory from '@rdfjs/dataset'

const quad = dataFactory.quad(
  dataFactory.blankNode(),
  dataFactory.namedNode('http://schema.org/name'),
  dataFactory.literal('RDF/JS Dataset')
)

const dataset = datasetFactory.dataset([quad])

Keywords

FAQs

Package last updated on 09 Feb 2024

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