Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond committed Sep 1, 2022
2 parents 7e3c273 + 41b4f3f commit 20735fe
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@

# Frogasaurus
Frogasaurus is a script for bundling a javascript library into a single file.<br>
I made it because I wanted an easy way to make a library that can be used in either of these ways:
I made it because I wanted an easy way to make a library that can be used in any of these ways:
* Imported with the `import` keyword.
* Embedded with a `script` tag.
* Run in a terminal with `deno run`.

## How does it work?
Write your code inside the `source` folder.<br>
Then run the `frogasaurus.js` file with [Deno](https://deno.land).<br>
Then run `frogasaurus.js` with [deno](https://deno.land).

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

If you export a function called `main`...<br>
An extra `-standalone.js` file will appear, that you can run in the command line with [deno](https://deno.land).<br>

## Anything else I should know?
Yes. But it's a secret!
Yes! There are some limitations! But it's all a secret (for now).

0 comments on commit 20735fe

Please sign in to comment.