Socket
Socket
Sign inDemoInstall

@types/rdfjs__serializer-jsonld-ext

Package Overview
Dependencies
3
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @types/rdfjs__serializer-jsonld-ext

TypeScript definitions for @rdfjs/serializer-jsonld-ext


Version published
Weekly downloads
1.7K
increased by0.65%
Maintainers
1
Install size
2.12 MB
Created
Weekly downloads
 

Readme

Source

Installation

npm install --save @types/rdfjs__serializer-jsonld-ext

Summary

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

Details

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

index.d.ts

import { BaseQuad, Quad, Sink, Stream } from "@rdfjs/types";
import { EventEmitter } from "events";
import { Context } from "jsonld/jsonld-spec.js";

export interface SerializerOptions {
    baseIRI?: string | undefined;
    context?: Context | undefined;
    compact?: boolean | undefined;
    encoding?: "string" | "object" | undefined;
    flatten?: boolean | undefined;
    frame?: boolean | undefined;
    skipContext?: boolean | undefined;
    prettyPrint?: boolean | 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

Credits

These definitions were written by Chris Wilkinson.

FAQs

Last updated on 02 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc