1.0.10 • Published 6 years ago

bug-jsonv v1.0.10

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

How to install

npm i bug-jsonv

How to use

var validator = require('bug-jsonv')

Method that the group bug-game will use

The message comes from the mqtt channel on which you subscribed

var JSONdata = JSON.parse(message.toString()); 
var jsonv = new validator(JSONdata); //JSONdata will the object you get from the API

if(jsonv.checkValidclientdata())
{ 
    //if the object is correct and validated, do something
} 

CONTACT

If you need any help, contact me at jelle.debuyzere@student.vives.be https://www.npmjs.com/package/bug-jsonv

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago