{"id":18358806,"url":"https://github.com/uppercod/rollup-plugin-import-url","last_synced_at":"2025-04-10T03:00:16.613Z","repository":{"id":57154332,"uuid":"289588461","full_name":"UpperCod/rollup-plugin-import-url","owner":"UpperCod","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-31T04:47:40.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-16T20:37:50.161Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UpperCod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-23T00:22:53.000Z","updated_at":"2020-08-31T04:47:42.000Z","dependencies_parsed_at":"2022-09-07T06:12:35.683Z","dependency_job_id":null,"html_url":"https://github.com/UpperCod/rollup-plugin-import-url","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"UpperCod/pkg-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Frollup-plugin-import-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Frollup-plugin-import-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Frollup-plugin-import-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UpperCod%2Frollup-plugin-import-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UpperCod","download_url":"https://codeload.github.com/UpperCod/rollup-plugin-import-url/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248148217,"owners_count":21055547,"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-11-05T22:19:34.294Z","updated_at":"2025-04-10T03:00:16.543Z","avatar_url":"https://github.com/UpperCod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rollup-plugin-import-url\n\nImport ESM modules from URL for local use and be processed by rollup, allowing to apply tree-shaking on non-local resources.\n\n**If the module to be imported has local dependencies, these dependencies will be used**.\n\n## Example\n\n```js\nexport { h } from \"https://unpkg.com/atomico\";\n```\n\n```js\nimport { h } from \"https://unpkg.com/atomico\";\n\nconsole.log(h);\n```\n\n## Install\n\n```\nnpm install rollup-plugin-import-url\n```\n\n## Usage\n\n```js\nimport importUrl from \"rollup-plugin-import-url\";\n\nexport default {\n    input: \"http://localhost:8080\",\n    plugins: [importUrl()],\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuppercod%2Frollup-plugin-import-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuppercod%2Frollup-plugin-import-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuppercod%2Frollup-plugin-import-url/lists"}