@types/rdf-data-model
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Installation

npm install --save @types/rdf-data-model

Summary

This package contains type definitions for rdf-data-model (https://github.com/rdf-ext/rdf-data-model).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdf-data-model.

index.d.ts

import * as RDF from "@rdfjs/types";

export const defaultGraphInstance: RDF.DefaultGraph;
export function namedNode(value: string): RDF.NamedNode;
export function blankNode(value?: string): RDF.BlankNode;
export function literal(value: string, languageOrDatatype?: string | RDF.NamedNode): RDF.Literal;
export function variable(value: string): RDF.Variable;
export function defaultGraph(): RDF.DefaultGraph;
export function triple(subject: RDF.Term, predicate: RDF.Term, object: RDF.Term): RDF.Quad;
export function quad(subject: RDF.Term, predicate: RDF.Term, object: RDF.Term, graph?: RDF.Term): RDF.Quad;

Additional Details

  • Last updated: Mon, 08 Jan 2024 20:35:39 GMT
  • Dependencies: @rdfjs/types

Credits

These definitions were written by Ruben Taelman.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/rdf-data-model

Weekly Downloads

16

Version

1.0.7

License

MIT

Unpacked Size

3.9 kB

Total Files

5

Last publish

Collaborators

  • types