Is there a way to running my P5.js code locally without a webserver?

Hi!
I am developing some educational games in P5. Soon, I will bring them to you to see.

Is there a way to running my P5.js code locally, without a webserver?
I tought putting all the libraries (p5.js) and all my js files into the index.html. Would it work?

Is there another thing I can do to achieve that?

Thanks!

2 Likes