Socket
Book a DemoInstallSign in
Socket

@types/rdfjs__parser-jsonld

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rdfjs__parser-jsonld

TypeScript definitions for @rdfjs/parser-jsonld

1.2.4
Source
npmnpm
Version published
Weekly downloads
3K
5.29%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/rdfjs__parser-jsonld

Summary

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

Details

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

index.d.ts

// Type definitions for @rdfjs/parser-jsonld 1.2
// Project: https://github.com/rdfjs-base/parser-jsonld
// Definitions by: Chris Wilkinson <https://github.com/thewilkybarkid>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { Context } from 'jsonld/jsonld-spec';
import { DataFactory, Sink, Stream, BaseQuad, Quad } from 'rdf-js';
import { EventEmitter } from 'events';

declare namespace Parser {
    interface ParserOptions {
        baseIRI?: string;
        context?: Context;
        factory?: DataFactory;
    }
}

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

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

export = Parser;

Additional Details

  • Last updated: Thu, 03 Jun 2021 17:02:07 GMT
  • Dependencies: @types/jsonld, @types/rdf-js
  • Global values: none

Credits

These definitions were written by Chris Wilkinson.

FAQs

Package last updated on 03 Jun 2021

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.