1.0.7 • Published 4 months ago

@types/rdf-data-model v1.0.7

Weekly downloads
18
License
MIT
Repository
github
Last release
4 months ago

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

// Type definitions for rdf-data-model 1.0
// Project: https://github.com/rdf-ext/rdf-data-model
// Definitions by: Ruben Taelman <https://github.com/rubensworks>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import * as RDF from "rdf-js";

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: Thu, 03 Jun 2021 17:02:03 GMT
  • Dependencies: @types/rdf-js
  • Global values: none

Credits

These definitions were written by Ruben Taelman.

1.0.7

4 months ago

1.0.6

6 months ago

1.0.5

7 months ago

1.0.4

7 months ago

1.0.3

3 years ago

1.0.2

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago