New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/rdfjs__data-model

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/rdfjs__data-model

TypeScript definitions for @rdfjs/data-model

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.9K
decreased by-23.03%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/rdfjs__data-model

Summary

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

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__data-model.

index.d.ts

// Type definitions for @rdfjs/data-model 2.0
// Project: https://github.com/rdfjs-base/data-model
// Definitions by: Jesse Wright <https://github.com/jeswr>
//                 Ruben Taelman <https://github.com/rubensworks>
//                 tpluscode <https://github.com/tpluscode>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.9

import * as RDF from "@rdfjs/types";

// Required is needed here because variable is optional in the spec
interface Factory extends Required<RDF.DataFactory<RDF.BaseQuad>> {
  // Enable same behavior of version 1 where quads default to RDF.Quad (where possible)
  quad<Q extends RDF.BaseQuad = RDF.Quad>(
      subject: Q['subject'], predicate: Q['predicate'], object: Q['object'], graph?: Q['graph']): Q;
  fromTerm<T extends RDF.Term>(value: T): T;
  fromQuad<T extends RDF.BaseQuad = RDF.Quad>(value: T): T;
}

declare const factory: Factory;
export default factory;

Additional Details

  • Last updated: Fri, 31 Dec 2021 23:01:24 GMT
  • Dependencies: @types/rdfjs__types
  • Global values: none

Credits

These definitions were written by Jesse Wright, Ruben Taelman, and tpluscode.

FAQs

Package last updated on 31 Dec 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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc