# @bpinternal/jex

> JSON-Extends; JSON Schema type checking library

Latest version **1.3.1** (published 2026-05-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @bpinternal/jex
pnpm add @bpinternal/jex
yarn add @bpinternal/jex
bun add @bpinternal/jex
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2026-05-11 |
| First published | 2024-02-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.0.0 |
| Dependencies | 4 |
| Unpacked size | 1.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 19 |
| Author | Botpress, Inc. |
| Maintainers | allardy, davidvitora, michael.masson, franklevasseur, chsir17, slvnperron, botpress-cloud-ops |

## Links

- npm: https://www.npmjs.com/package/@bpinternal/jex
- Repository: https://github.com/botpress/packages
- Homepage: https://github.com/botpress/packages#readme
- Issues: https://github.com/botpress/packages/issues
- npm.io page: https://npm.io/package/@bpinternal/jex

## Dependencies (4)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [node-fetch](https://npm.io/package/node-fetch.md) ^3.3.2
- [@types/json-schema](https://npm.io/package/@types/json-schema.md) ^7.0.15
- [@apidevtools/json-schema-ref-parser](https://npm.io/package/@apidevtools/json-schema-ref-parser.md) ^11.7.2

## Recent versions

- 1.3.1 (latest) — 2026-05-11
- 1.3.0 — 2026-05-11
- 1.2.4 — 2025-07-18
- 1.2.3 — 2025-04-11
- 1.2.2 — 2024-12-03
- 1.2.1 — 2024-12-03
- 1.2.0 — 2024-12-03
- 1.1.2 — 2024-10-23
- 1.1.1 — 2024-10-23
- 1.1.0 — 2024-10-18
- 1.0.1 — 2024-10-17
- 1.0.0 — 2024-10-17
- 0.0.12 — 2024-10-16
- 0.0.11 — 2024-10-07
- 0.0.10 — 2024-09-26
- … 9 more at https://npm.io/package/@bpinternal/jex/versions

## README

# Jex

JSON-Extends; JSON Schema type checking library

## Usage

```typescript
import * as jex from '.'

const res1 = jex.jsonSchemaExtends(
  {
    type: 'object',
    properties: {
      name: { type: 'string' },
      age: { type: 'number' }
    }
  },
  {
    type: 'object',
    properties: {
      name: { type: 'string' }
    }
  }
)
console.log(res1) // true

const res2 = jex.jsonSchemaExtends(
  {
    type: 'object',
    properties: {
      name: { type: 'string' },
      age: { type: 'number' }
    }
  },
  {
    type: 'object',
    properties: {
      name: { type: 'string' }
    },
    required: ['name']
  }
)
console.log(res2) // false
```

## Disclaimer ⚠️

This package is published under the `@bpinternal` organization. All packages of this organization are meant to be used by the [Botpress](https://github.com/botpress/botpress) team internally and are not meant for our community. However, these packages were still left intentionally public for an important reason : We Love Open-Source. Therefore, if you wish to install this package feel absolutely free to do it. We strongly recommend that you tag your versions properly.

The Botpress Engineering team.

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