Skip to main content
Deno 2 is finally here 🎉️
Learn more

Frogasaurus

Frogasaurus is a script for bundling a javascript library into a single file.
I made it because I wanted an easy way to make a library that can be used in either of these ways:

  • Imported with the import keyword.
  • Embedded with a script tag.

How does it work?

Write your code inside the source folder.
Then run the frogasaurus.js file with Deno.

Your bundled project will appear!
Use the -import.js file when importing the project.
Use the -embed.js file when embedding the project.

Anything else I should know?

Yes. But it’s a secret!