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.
- Host: GitHub
- URL: https://github.com/coolreader18/legume-loader
- Owner: coolreader18
- License: mit
- Created: 2018-01-26T05:51:25.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-13T07:47:46.000Z (over 7 years ago)
- Last Synced: 2025-02-25T12:32:02.861Z (11 months ago)
- Topics: dependencies, javascript, loader
- Language: TypeScript
- Homepage:
- Size: 271 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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.