@galaxar/jsonv

1.0.6 • Public • Published

@galaxar/jsonv

JSON Validation Syntax

Installation

pnpm install @galaxar/jsonv

Usage that requires special attention

  • Jvs.match(value, null) always return true

    It does not mean to match null, which should use { $exist: false } instead.

  • Jvs.match(value, [ ... ]) means to match all jvs object in the array

    It does not mean the value to be equal to the array, which should use { $eq: [ ... ] } instead.

Package Sidebar

Install

npm i @galaxar/jsonv

Weekly Downloads

5

Version

1.0.6

License

MIT

Unpacked Size

165 kB

Total Files

60

Last publish

Collaborators

  • rockie