{"id":13447663,"url":"https://github.com/thgh/rollup-plugin-url-import","last_synced_at":"2025-10-12T20:51:15.055Z","repository":{"id":66148114,"uuid":"169379485","full_name":"thgh/rollup-plugin-url-import","owner":"thgh","description":"Resolve URL imports just like Deno","archived":false,"fork":false,"pushed_at":"2019-04-14T08:56:51.000Z","size":16,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-17T01:32:32.989Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thgh.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2019-02-06T09:12:27.000Z","updated_at":"2019-10-23T23:17:34.000Z","dependencies_parsed_at":"2023-06-09T22:30:17.721Z","dependency_job_id":null,"html_url":"https://github.com/thgh/rollup-plugin-url-import","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":0.2222222222222222,"last_synced_commit":"8c126124348ace3dda85ad0bdf47c1359cbe6f72"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thgh/rollup-plugin-url-import","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Frollup-plugin-url-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Frollup-plugin-url-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Frollup-plugin-url-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Frollup-plugin-url-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thgh","download_url":"https://codeload.github.com/thgh/rollup-plugin-url-import/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thgh%2Frollup-plugin-url-import/sbom","scorecard":{"id":880667,"data":{"date":"2025-08-11","repo":{"name":"github.com/thgh/rollup-plugin-url-import","commit":"8c126124348ace3dda85ad0bdf47c1359cbe6f72"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":2,"reason":"Found 2/9 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T08:04:03.298Z","repository_id":66148114,"created_at":"2025-08-24T08:04:03.298Z","updated_at":"2025-08-24T08:04:03.298Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012807,"owners_count":26085191,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07-31T05:01:23.808Z","updated_at":"2025-10-12T20:51:15.039Z","avatar_url":"https://github.com/thgh.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Rollup plugin that resolves URL imports\n\n\u003ca href=\"LICENSE\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg\" alt=\"Software License\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/thgh/rollup-plugin-url-import/issues\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/issues/thgh/rollup-plugin-url-import.svg\" alt=\"Issues\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/thgh/rollup-plugin-url-import/releases\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/release/thgh/rollup-plugin-url-import.svg\" alt=\"Latest Version\" /\u003e\n\u003c/a\u003e\n  \n## Installation\n```\nnpm install --save-dev rollup-plugin-url-import\n```\n\n## Usage\n```js\n// rollup.config.js\nimport urlImport from 'rollup-plugin-url-import'\n\nexport default {\n  input: 'input.js',\n  output: { file: 'output.js', format: 'esm' },\n  plugins: [\n    urlImport()\n  ]\n}\n```\n\n```js\n// input.js\nimport 'https://deno.land/thumb.ts'\nimport leftPad from 'https://dev.jspm.io/left-pad'\n\nconsole.log(leftPad('test', 8))\n```\n\n### Options\n\nThe cache option is not yet implemented.\n\n```js\nurlImport({\n  // Cache fetched modules (default: false)\n  cache: true,\n\n  // Cache fetched modules in specified folder\n  cache: '~/.deno/deps',\n\n  // Enable output of fetched urls (default: false)\n  verbose: true,\n\n  // Fetch named modules from jspm.io (default: false)\n  jspm: true\n})\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nContributions and feedback are very welcome.\n\nTo get it running:\n  1. Clone the project.\n  2. `npm install`\n  3. `npm run build`\n  4. `npm run test`\n\n## Credits\n\n- [Thomas Ghysels](https://github.com/thgh)\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n[link-author]: https://github.com/thgh\n[link-contributors]: ../../contributors\n[rollup-plugin-url-import]: https://www.npmjs.com/package/rollup-plugin-url-import\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthgh%2Frollup-plugin-url-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthgh%2Frollup-plugin-url-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthgh%2Frollup-plugin-url-import/lists"}