{"id":16893936,"url":"https://github.com/coolreader18/legume-loader","last_synced_at":"2026-05-10T17:04:41.019Z","repository":{"id":57146359,"uuid":"119011533","full_name":"coolreader18/legume-loader","owner":"coolreader18","description":"🥜 A simple vanilla JS dependency manager.","archived":false,"fork":false,"pushed_at":"2018-10-13T07:47:46.000Z","size":277,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T12:32:02.861Z","etag":null,"topics":["dependencies","javascript","loader"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coolreader18.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-26T05:51:25.000Z","updated_at":"2018-10-13T07:47:47.000Z","dependencies_parsed_at":"2022-09-06T05:52:03.860Z","dependency_job_id":null,"html_url":"https://github.com/coolreader18/legume-loader","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolreader18%2Flegume-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolreader18%2Flegume-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolreader18%2Flegume-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolreader18%2Flegume-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coolreader18","download_url":"https://codeload.github.com/coolreader18/legume-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244591502,"owners_count":20477708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dependencies","javascript","loader"],"created_at":"2024-10-13T17:17:01.883Z","updated_at":"2026-05-10T17:04:40.979Z","avatar_url":"https://github.com/coolreader18.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Legume Loader\n\nAn easy way to manage dependencies in vanilla JS. No bundler, just `import` statements.\n\n## Usage\n\nindex.html:\n\n```html\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cscript src=https://cdn.jsdelivr.net/npm/legume-loader@0.2.4/legume.min.js data-legume-entry=script.js\u003e\u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cdiv id=mydiv\u003e\u003c/div\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\nscript.js:\n\n```js\nimport $ from \"npm:jquery\";\n$(\"#mydiv\").text(\"Now I can use jQuery!\");\n```\n\n## Why is it called Legume?\n\nI dunno, why are you bean so mean?\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\n- This is based off of, in concept, a previous project of mine,\n  [bookmarklet-loader](https://github.com/coolreader18/bookmarklet-loader).\n- Which in turn used a lot of code from [mrcoles/bookmarklet](https://github.com/mrcoles/bookmarklet).\n  Legume uses no code from either project, but was inspired by it.\n- Some code taken from [lukechilds/when-dom-ready](https://github.com/lukechilds/when-dom-ready),\n  which is under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolreader18%2Flegume-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoolreader18%2Flegume-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolreader18%2Flegume-loader/lists"}