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

2.0.5 • Public • Published

Installation

npm install --save @types/rdfjs__serializer-jsonld

Summary

This package contains type definitions for @rdfjs/serializer-jsonld (https://github.com/rdfjs-base/serializer-jsonld).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__serializer-jsonld.

index.d.ts

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

export interface SerializerOptions {
    encoding?: "string" | "object" | undefined;
}

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

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

Additional Details

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

Credits

These definitions were written by Chris Wilkinson, and tpluscode.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/rdfjs__serializer-jsonld

Weekly Downloads

2,452

Version

2.0.5

License

MIT

Unpacked Size

3.82 kB

Total Files

5

Last publish

Collaborators

  • types