{"id":15680694,"url":"https://github.com/lucsoft/esbuild-plugin-http-imports","last_synced_at":"2025-06-21T23:04:38.400Z","repository":{"id":62422251,"uuid":"402721111","full_name":"lucsoft/esbuild-plugin-http-imports","owner":"lucsoft","description":"persistent cached http import resolution for esbuild","archived":false,"fork":false,"pushed_at":"2023-04-08T13:58:40.000Z","size":32,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T11:18:02.097Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://deno.land/x/esbuild_plugin_http_imports","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-03T09:48:38.000Z","updated_at":"2024-12-08T08:27:49.000Z","dependencies_parsed_at":"2025-03-11T01:32:28.698Z","dependency_job_id":"2bcb16ad-b5e4-4d63-a4d8-8a06c9f10ff6","html_url":"https://github.com/lucsoft/esbuild-plugin-http-imports","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/lucsoft/esbuild-plugin-http-imports","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucsoft%2Fesbuild-plugin-http-imports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucsoft%2Fesbuild-plugin-http-imports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucsoft%2Fesbuild-plugin-http-imports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucsoft%2Fesbuild-plugin-http-imports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucsoft","download_url":"https://codeload.github.com/lucsoft/esbuild-plugin-http-imports/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucsoft%2Fesbuild-plugin-http-imports/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261206107,"owners_count":23124837,"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":[],"created_at":"2024-10-03T16:43:56.668Z","updated_at":"2025-06-21T23:04:33.386Z","avatar_url":"https://github.com/lucsoft.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esbuild-plugin-http-imports\n\nAn esbuild plugin that resolves http(s) modules with persistent caching, for use with Deno.\n\n\u003e **NOTE**: If you want an extended esbuild development server go to https://deno.land/x/esbuild_serve\n\n\u003e This Plugin uses x/esbuild_serve/features/httpImports.ts for its Implementation. If you have any Bugs please report it at esbuild_serve.\n\n\n## Example\n\n```ts\n// test/index.js\nimport { build, stop } from \"https://deno.land/x/esbuild/mod.js\";\nimport { httpImports } from \"https://deno.land/x/esbuild_plugin_http_imports/index.ts\";\n\nconst { outputFiles } = await build({\n  bundle: true,\n  entryPoints: [\"test/hello.jsx\"],\n  jsxFactory: \"h\",\n  plugins: [httpImports()],\n  write: false,\n});\n\neval(outputFiles[0].text);\n// expected: \u003ch1\u003eHello, world!\u003c/h1\u003e\n// actual: \u003ch1\u003eHello, world!\u003c/h1\u003e\n\nstop();\n```\n\n```js\n// test/hello.jsx\nimport { h } from \"https://unpkg.com/preact@10.5.13/dist/preact.module.js\";\nimport render from \"https://unpkg.com/preact-render-to-string@5.1.19/dist/index.module.js?module\";\n\nconst app = \u003ch1\u003eHello, world!\u003c/h1\u003e;\nconst html = render(app);\n\nconsole.log(\"expected: %s\", \"\u003ch1\u003eHello, world!\u003c/h1\u003e\");\nconsole.log(\"actual: %s\", html);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucsoft%2Fesbuild-plugin-http-imports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucsoft%2Fesbuild-plugin-http-imports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucsoft%2Fesbuild-plugin-http-imports/lists"}