Share your repls and programming experiences

← Back to all posts
📦Bundle Repl: Use Node.js repls in your html 📦
amasad (2492)

Writing a Node.js library on is so fun and easy but it's hard to use it anywhere else. Well, now you can! (Very early alpha release)

Bundle Repl will take a Node repl and turn it into a bundle you can use in an HTML repl or project.

Send an HTTP GET request to${username}/${repl} where username is your username and repl is your repl. You'll get back a JavaScript bundle.

Let's see an example:

GreatLibrary is a great library that adds and subtract numbers. It's perfectly modular too. We want to build a simple calculator on top of it, so we start an html repl and include the following:

<script src=""></script>

And that's it! See it in action.

Kognise (407)

Awesome! Have you implemented caching yet?

amasad (2492)

@Kognise yes it's super fast now. It caches on GCS

marlonlom (0)

@amasad what about caching in some nodejs-based caching libraries?

PDanielY (980)

I don't really get it.

PDanielY (980)

@amasad the thing that is vague to me is what are bundle repls?