2.0.6 • Published 4 months ago
@types/rdfjs__parser-n3 v2.0.6
Installation
npm install --save @types/rdfjs__parser-n3
Summary
This package contains type definitions for @rdfjs/parser-n3 (https://github.com/rdfjs-base/parser-n3).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__parser-n3.
index.d.ts
// Type definitions for @rdfjs/parser-n3 1.1
// Project: https://github.com/rdfjs-base/parser-n3
// Definitions by: tpluscode <https://github.com/tpluscode>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { Sink, Stream, DataFactory, BaseQuad, Quad } from 'rdf-js';
import { EventEmitter } from 'events';
interface ParserOptions {
baseIRI?: string | undefined;
factory?: DataFactory | undefined;
}
declare class Parser<Q extends BaseQuad = Quad> implements Sink<EventEmitter, Stream<Q>> {
constructor(options?: ParserOptions);
import(stream: EventEmitter, options?: ParserOptions): Stream<Q>;
}
export = Parser;
Additional Details
- Last updated: Thu, 08 Jul 2021 20:20:20 GMT
- Dependencies: @types/rdf-js
- Global values: none
Credits
These definitions were written by tpluscode.