# @validatem/has-shape

> Validatem combinator for validating that a value has certain keys that pass certain validators (eg. object validation)

Latest version **0.1.10** (published 2026-07-29) · WTFPL OR CC0-1.0 license · 0 weekly downloads

## Install

```sh
npm install @validatem/has-shape
pnpm add @validatem/has-shape
yarn add @validatem/has-shape
bun add @validatem/has-shape
```

## Health

**Score 45/100 (D)** — status: active.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.1.10 |
| Published | 2026-07-29 |
| First published | 2020-05-26 |
| Weekly downloads | 0 |
| License | WTFPL OR CC0-1.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sven Slootweg |
| Maintainers | joepie91 |
| Keywords | validatem, validator, combinator |

## Links

- npm: https://www.npmjs.com/package/@validatem/has-shape
- Repository: https://codeberg.org/validatem/has-shape
- npm.io page: https://npm.io/package/@validatem/has-shape

## Dependencies (6)

- [as-expression](https://npm.io/package/as-expression.md) ^1.0.0
- [default-value](https://npm.io/package/default-value.md) ^1.0.0
- [@validatem/error](https://npm.io/package/@validatem/error.md) ^1.0.0
- [@validatem/combinator](https://npm.io/package/@validatem/combinator.md) ^0.1.0
- [@validatem/annotate-errors](https://npm.io/package/@validatem/annotate-errors.md) ^0.1.2
- [@validatem/validation-result](https://npm.io/package/@validatem/validation-result.md) ^0.1.1

## Alternatives

- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads

## Recent versions

- 0.1.10 (latest) — 2026-07-29
- 0.1.9 — 2026-07-29
- 0.1.8 — 2020-07-01
- 0.1.7 — 2020-06-22
- 0.1.6 — 2020-06-17
- 0.1.5 — 2020-06-14
- 0.1.4 — 2020-05-26
- 0.1.3 — 2020-05-26
- 0.1.2 — 2020-05-26
- 0.1.1 — 2020-05-26
- 0.1.0 — 2020-05-26

## README

# @validatem/has-shape

Documentation for this module has not been fully written yet. By the time it reaches 1.0.0, it will have full documentation.

In the meantime, check out the `example.js` file in the repository for a usage demonstration.

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