# @specialblend/json-logic-ex

> JsonLogic Extended

Latest version **0.0.2** (published 2020-01-27) · ISC license · 0 weekly downloads

## Install

```sh
npm install @specialblend/json-logic-ex
pnpm add @specialblend/json-logic-ex
yarn add @specialblend/json-logic-ex
bun add @specialblend/json-logic-ex
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2020-01-27 |
| First published | 2020-01-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.9 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Author | cj@specialblend.net |
| Maintainers | __specialblend__ |
| Keywords | json, jsonlogic, regex, rule, engine |

## Links

- npm: https://www.npmjs.com/package/@specialblend/json-logic-ex
- Repository: https://github.com/specialblend/json-logic-ex
- Homepage: https://github.com/specialblend/json-logic-ex#readme
- Issues: https://github.com/specialblend/json-logic-ex/issues
- npm.io page: https://npm.io/package/@specialblend/json-logic-ex

## Dependencies (3)

- [ramda](https://npm.io/package/ramda.md) ^0.26.1
- [@types/ramda](https://npm.io/package/@types/ramda.md) ^0.26.40
- [json-logic-js](https://npm.io/package/json-logic-js.md) ^1.2.2

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.2 (latest) — 2020-01-27
- 0.0.1 — 2020-01-27

## README

# json-logic-ex

[JsonLogic](https://github.com/jwadhams/json-logic-js) Extended 

## Added features:

- TypeScript definitions
- RegEx support

## Future features:
- JSON Shape Matching

### RegEx matching example

```typescript

import jsonLogicEx from '@specialblend/json-logic-ex'

const data = {
    foo: 'this is bar',
}

const ex = {
    matchesRegEx: ['bar', { var: 'foo' }],
}

jsonLogicEx.apply(ex, data) // => true

```

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