# rdf-namespaces

> Autogenerated TypeScript files with RDF namespace aliases for autocompletion

Latest version **1.17.0** (published 2026-05-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install rdf-namespaces
pnpm add rdf-namespaces
yarn add rdf-namespaces
bun add rdf-namespaces
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; high quality score.

Warnings: low downloads; large bundle.

## Facts

| | |
|---|---|
| Version | 1.17.0 |
| Published | 2026-05-07 |
| First published | 2019-08-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (Unknown) |
| Author | Vincent Tunru |
| Maintainers | vincenttunru |
| Keywords | rdf, namespace, rdf-namespace, rdf-namespaces, linked-data |

## Links

- npm: https://www.npmjs.com/package/rdf-namespaces
- Repository: https://gitlab.com/vincenttunru/rdf-namespaces
- Issues: https://gitlab.com/vincenttunru/rdf-namespaces/issues
- npm.io page: https://npm.io/package/rdf-namespaces

## Recent versions

- 1.17.0 (latest) — 2026-05-07
- 1.17.0-main-14268677941-3ed97978 (next) — 2026-05-07
- 1.10.1-fhir-4155046105-b2602309 (fhir) — 2023-04-21
- 1.6.0-side-effect-free-354852864-a967f1cc (side-effect-free) — 2019-11-19
- 1.2.0-esm-296979703-b7e66030 (esm) — 2019-09-17
- 1.16.0-main-14268558064-c47700a9 — 2026-05-07
- 1.16.0-main-14268155183-15bea6f6 — 2026-05-07
- 1.16.0-main-14268138068-2141a506 — 2026-05-07
- 1.16.0-main-14268068857-7d70fe41 — 2026-05-07
- 1.16.0 — 2025-08-22
- 1.16.0-master-11108972525-2f7cbfb8 — 2025-08-22
- 1.15.0-master-11108962269-243699f1 — 2025-08-22
- 1.15.0 — 2025-08-14
- 1.15.0-master-11026424742-acada936 — 2025-08-14
- 1.14.0-master-11026407981-00670c66 — 2025-08-14
- … 84 more at https://npm.io/package/rdf-namespaces/versions

## README

rdf-namespaces
======
Automatically generated TypeScript files containing short aliases to common RDF namespaces.
This allows you to use `rdf.type` instead of `'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'` in
your code, and gives you code completion for available properties if you use an editor with
TypeScript support.

For a list of included vocabularies, see [the source code](https://gitlab.com/vincenttunru/rdf-namespaces/blob/master/src/generate.ts#L5).

## Installation

```bash
npm install rdf-namespaces
```

## Usage

```typescript
import { ldp } from 'rdf-namespaces';

const ldpResource: string = ldp.Resource; // http://www.w3.org/ns/ldp#Resource
```

## Changelog

See [CHANGELOG](https://gitlab.com/vincenttunru/rdf-namespaces/blob/master/CHANGELOG.md).

## License

MIT © [Inrupt](https://inrupt.com)

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