🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

json-validator-util

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-validator-util - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+1
-1
package.json
{
"name": "json-validator-util",
"version": "1.0.0",
"version": "1.0.1",
"description": "This is utility package that helps in validating the json schema",

@@ -5,0 +5,0 @@ "files": [

@@ -15,5 +15,5 @@ # JSON Validator

```bash
npm i @sb/json-validator
npm i json-validator-util
OR
yarn @sb/json-validator
yarn json-validator-util
```

@@ -27,3 +27,3 @@

// validating through schema directly
import { validator } from '@sb/json-validator';
import { validator } from 'json-validator-util';

@@ -38,3 +38,3 @@ const response = validator.validate(payload, jsonSchema);

// validating through schema filename
import { validator } from '@sb/json-validator';
import { validator } from 'json-validator-util';

@@ -63,3 +63,3 @@ validator.initialize({

```javascript
import { validator } from '@sb/json-validator';
import { validator } from 'json-validator-util';

@@ -66,0 +66,0 @@ const payload = {