Package detail

@comunica/types

comunica76.6kMIT4.2.0

Typings module for Comunica

comunica, types

readme

Comunica Types

npm version

A collection of reusable Comunica Typescript interfaces and types.

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

Install

$ yarn add @comunica/types

Usage

import { Bindings } from '@comunica/types';
import { BindingsFactory } from '@comunica/utils-bindings-factory';

// ...

const bindings: Bindings = BindingsFactory.bindings({ '?var': dataFactory.literal('abc') });

All types are available in index.ts.