# @comunica/types

> Typings module for Comunica

Latest version **5.4.0** (published 2026-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @comunica/types
pnpm add @comunica/types
yarn add @comunica/types
bun add @comunica/types
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 5.4.0 |
| Published | 2026-09-14 |
| First published | 2021-03-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 185.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 591 |
| Maintainers | joachimvh, rubensworks, rubenverborgh, dexagod, jeswr |
| Keywords | comunica, types |

## Links

- npm: https://www.npmjs.com/package/@comunica/types
- Repository: https://github.com/comunica/comunica
- Homepage: https://comunica.dev/
- Issues: https://github.com/comunica/comunica/issues
- Funding: https://opencollective.com/comunica-association
- npm.io page: https://npm.io/package/@comunica/types

## Dependencies (5)

- [lru-cache](https://npm.io/package/lru-cache.md) ^11.2.2
- [@rdfjs/types](https://npm.io/package/@rdfjs/types.md) *
- [@types/yargs](https://npm.io/package/@types/yargs.md) ^17.0.24
- [asynciterator](https://npm.io/package/asynciterator.md) ^3.10.0
- [@comunica/utils-algebra](https://npm.io/package/@comunica/utils-algebra.md) ^5.4.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 5.4.0 (latest) — 2026-09-14
- 4.4.2-alpha.49.0 (next) — 2025-10-22
- 5.3.0 — 2026-07-10
- 5.2.3 — 2026-05-26
- 5.2.0 — 2026-04-14
- 5.1.3 — 2026-01-30
- 5.1.0 — 2026-01-16
- 5.0.0 — 2026-01-08
- 4.5.0 — 2025-11-18
- 4.4.0 — 2025-09-17
- 4.2.0 — 2025-04-29
- 4.1.0 — 2025-02-11
- 4.0.2 — 2024-10-16
- 4.0.1 — 2024-10-15
- 4.0.1-alpha.48.0 — 2024-10-08
- … 75 more at https://npm.io/package/@comunica/types/versions

## README

# Comunica Types

[![npm version](https://badge.fury.io/js/%40comunica%2Ftypes.svg)](https://www.npmjs.com/package/@comunica/types)

A collection of reusable Comunica Typescript interfaces and types.

This module is part of the [Comunica framework](https://github.com/comunica/comunica),
and should only be used by [developers that want to build their own query engine](https://comunica.dev/docs/modify/).

[Click here if you just want to query with Comunica](https://comunica.dev/docs/query/).

## Install

```bash
$ yarn add @comunica/types
```

## Usage

```typescript
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`](https://github.com/comunica/comunica/blob/master/packages/context-entries/index.ts).

---
_Source: https://npm.io/package/@comunica/types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
