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

@tpluscode/rdf-ns-builders

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tpluscode/rdf-ns-builders

Generated RDF/JS namespace builders for common vocabularies

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12K
increased by133.7%
Maintainers
1
Weekly downloads
 
Created
Source

@tpluscode/rdf-ns-builders

Common RDF vocabularies extracted from @zazuko/rdf-vocabularies and wrapped as @rdfjs/namespace builder objects.

Also includes TypeScript declarations of the terms included in the known vocabularies as extracted from the actual RDF source file.

Why?

  1. If you're tired of typing const schema = namespace(prefixes.schema) every so often
  2. If you want to have your IDE "Find usages" of a @rdfjs/namespace-generated term

Installation

npm i -S @tpluscode/rdf-ns-builders

Usage

Simply import a namespace builder by its prefix defined in @zazuko/rdf-vocabularies

import { schema } from '@tpluscode/rdf-ns-builders'
import { NamedNode } from 'rdf-js'

const schemaPerson: NamedNode = schema.Person

FAQs

Package last updated on 23 Feb 2020

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