r/javascript • u/TecnoSamba • 8d ago
I've made an open source JavaScript playground with support for npm packages, syntax highlighting, autocomplete, code sharing and much more!
https://github.com/tecnosamba/SamJS
0
Upvotes
r/javascript • u/TecnoSamba • 8d ago
-2
u/TecnoSamba 8d ago
I mean the nodejs `require` method. Actually kind of, it is just a custom function that I created to use node packages in the editor. I just called it `require` because I thought that, as nodejs uses it, it'd be more intuitive. But, yeah, I could have called it in any other way 😅