Jsonstore.io in HTML
ryanhcode (85)

I have used jsonstore.io before, and am now trying to integrate it into a web app. I can't use require, because I am running it inside of a script tag in HTML. How would I do this?

You are viewing a single comment. View All
Answered by JustARatherRidi (190) [earned 5 cycles]
View Answer
JustARatherRidi (190)

@ryanhallihan oh okay, it seemed like you had to do it from within a <script> tag from your question. If you're able to use node to host your website, then using an npm package is probably the best way to go.