@types/rdfjs__parser-n3
TypeScript icon, indicating that this package has built-in type declarations

2.0.6 • Public • Published

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

import { BaseQuad, DataFactory, Quad, Sink, Stream } from "@rdfjs/types";
import { EventEmitter } from "events";

export interface ParserOptions {
    baseIRI?: string | undefined;
    factory?: DataFactory | undefined;
}

export default class Parser<Q extends BaseQuad = Quad> implements Sink<EventEmitter, Stream<Q>> {
    constructor(options?: ParserOptions);

    import(stream: EventEmitter, options?: ParserOptions): Stream<Q>;
}

Additional Details

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

Credits

These definitions were written by tpluscode.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/rdfjs__parser-n3

Weekly Downloads

2,271

Version

2.0.6

License

MIT

Unpacked Size

3.57 kB

Total Files

5

Last publish

Collaborators

  • types