An open API service indexing awesome lists of open source software.

https://github.com/coolreader18/legume-loader

🥜 A simple vanilla JS dependency manager.
https://github.com/coolreader18/legume-loader

dependencies javascript loader

Last synced: 10 months ago
JSON representation

🥜 A simple vanilla JS dependency manager.

Awesome Lists containing this project

README

          

# Legume Loader

An easy way to manage dependencies in vanilla JS. No bundler, just `import` statements.

## Usage

index.html:

```html






```

script.js:

```js
import $ from "npm:jquery";
$("#mydiv").text("Now I can use jQuery!");
```

## Why is it called Legume?

I dunno, why are you bean so mean?

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

- This is based off of, in concept, a previous project of mine,
[bookmarklet-loader](https://github.com/coolreader18/bookmarklet-loader).
- Which in turn used a lot of code from [mrcoles/bookmarklet](https://github.com/mrcoles/bookmarklet).
Legume uses no code from either project, but was inspired by it.
- Some code taken from [lukechilds/when-dom-ready](https://github.com/lukechilds/when-dom-ready),
which is under the MIT license.