1.0.10 • Published 5 years ago

bug-jsonv v1.0.10

Weekly downloads
3
License
ISC
Repository
github
Last release
5 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

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago