0.1.6 • Published 1 year ago

@types/rdfjs__serializer-rdfjs v0.1.6

Weekly downloads
24
License
MIT
Repository
github
Last release
1 year ago

Installation

npm install --save @types/rdfjs__serializer-rdfjs

Summary

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

Details

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

index.d.ts

// Type definitions for @rdfjs/serializer-rdfjs 0.0
// Project: https://github.com/rdfjs-base/serializer-rdfjs
// Definitions by: tpluscode <https://github.com/tpluscode>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { EventEmitter } from 'events';
import { Sink, Stream, BaseQuad, Quad } from 'rdf-js';

declare namespace Serializer {
    interface SerializerOptions {
        module?: 'esm' | 'ts' | string | undefined;
    }
}

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

    import(stream: Stream<Q>, options?: Serializer.SerializerOptions): EventEmitter;
    transform(quads: Iterable<Q>): string;
}

export = Serializer;

Additional Details

  • Last updated: Thu, 08 Jul 2021 20:20:21 GMT
  • Dependencies: @types/rdf-js
  • Global values: none

Credits

These definitions were written by tpluscode.

0.1.6

1 year ago

0.1.5

1 year ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

5 years ago