Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use lib within NodeJS #1

Open
zbubric opened this issue Sep 6, 2021 · 2 comments
Open

How to use lib within NodeJS #1

zbubric opened this issue Sep 6, 2021 · 2 comments

Comments

@zbubric
Copy link

zbubric commented Sep 6, 2021

Hi,

I tried to give this lib a 'test-ride' within nodeJs application but, whatever I tried, matchJSONToSchema is always undefined?
Any hints how to use it?

@matthewdfuller
Copy link

I've been using it in Node like:

const matchJSONToSchema = require('simple-json-match').default;
matchJSONToSchema(event, schema); // evals to true/false

@zbubric
Copy link
Author

zbubric commented Apr 19, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants