# @vocabulary/sh

> This package contains a snapshot of the SHACL vocabulary with the addition of an unofficial rendition of the latest [SHACL Advanced Features](https://w3c.github.io/shacl/shacl-af/) draft.

Latest version **2.0.0** (published 2026-01-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @vocabulary/sh
pnpm add @vocabulary/sh
yarn add @vocabulary/sh
bun add @vocabulary/sh
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-01-16 |
| First published | 2023-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 100.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 78 |
| Maintainers | tpluscode, zazuko-bot |

## Links

- npm: https://www.npmjs.com/package/@vocabulary/sh
- Repository: https://github.com/zazuko/rdf-vocabularies
- Homepage: https://prefix.zazuko.com/prefix/sh:
- Issues: https://github.com/zazuko/rdf-vocabularies/issues
- npm.io page: https://npm.io/package/@vocabulary/sh

## Recent versions

- 2.0.0 (latest) — 2026-01-16
- 1.0.0-rc.0 (rc) — 2023-03-13
- 1.1.6 — 2025-03-26
- 1.1.5 — 2024-03-08
- 1.1.4 — 2024-02-29
- 1.1.3 — 2023-11-02
- 1.1.2 — 2023-10-13
- 1.1.1 — 2023-10-13
- 1.1.0 — 2023-10-13
- 1.0.1 — 2023-06-30
- 1.0.0 — 2023-04-11
- 1.0.0-rc.1 — 2023-04-01

## README

# @vocabulary/sh

This package contains a snapshot of the SHACL vocabulary with the addition of
an unofficial rendition of the latest [SHACL Advanced Features](https://w3c.github.io/shacl/shacl-af/) 
draft.

## SHACL Advanced Features

SHACL-AF adds a handful of properties and node expressions. The latter are expressed here as
node shapes.

### Known issues

The node shape `sh:FunctionExpression` currently does not work and will cause false negatives when
validation a shape which uses function expressions.

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