{"id":16265972,"url":"https://github.com/medfreeman/swc-plugin-add-import-extension","last_synced_at":"2026-02-24T21:33:33.624Z","repository":{"id":62445033,"uuid":"487630656","full_name":"medfreeman/swc-plugin-add-import-extension","owner":"medfreeman","description":"SWC plugin to add extensions to esm import and export module names","archived":false,"fork":false,"pushed_at":"2026-02-20T04:41:10.000Z","size":302,"stargazers_count":4,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-20T08:39:39.823Z","etag":null,"topics":["export","extension","import","swc-plugin"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/medfreeman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-05-01T20:00:37.000Z","updated_at":"2024-10-23T13:31:40.000Z","dependencies_parsed_at":"2022-11-01T22:30:53.957Z","dependency_job_id":"11e33cbf-2469-4dad-9017-e36cf6bfa095","html_url":"https://github.com/medfreeman/swc-plugin-add-import-extension","commit_stats":{"total_commits":127,"total_committers":3,"mean_commits":"42.333333333333336","dds":0.2913385826771654,"last_synced_commit":"d69422e5dac8791dc3c14b64e4f59960ae330442"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/medfreeman/swc-plugin-add-import-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medfreeman%2Fswc-plugin-add-import-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medfreeman%2Fswc-plugin-add-import-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medfreeman%2Fswc-plugin-add-import-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medfreeman%2Fswc-plugin-add-import-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/medfreeman","download_url":"https://codeload.github.com/medfreeman/swc-plugin-add-import-extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medfreeman%2Fswc-plugin-add-import-extension/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29801021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T21:02:39.706Z","status":"ssl_error","status_checked_at":"2026-02-24T21:02:21.834Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["export","extension","import","swc-plugin"],"created_at":"2024-10-10T17:21:18.012Z","updated_at":"2026-02-24T21:33:33.602Z","avatar_url":"https://github.com/medfreeman.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swc-plugin-add-import-extension\n\n\u003e [`SWC`](https://swc.rs) plugin to add extensions to [`esm`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) import and export module names\n\n## 📄 Notes\n\nNeed to detect:\n- local imports/exports (not possible w/o node resolver)\n- alias imports/exports (shall we read ts paths?/perhaps better to provide regex in plugin cfg)\n- *baseUrl imports/exports (not possible w/o node resolver + swc still does not support this atm)\n\n## 🎉 Contributing\n\nContributions are welcome! Whether it is a small documentation change or a breaking feature, we welcome it!\n\n_Please note: All contributions are taken under the MIT license_\n\n## ⚙️ Development\n\n\u003e :information_source:\n\u003e This project depends on [fnm](https://github.com/Schniz/fnm) \u0026 [vscode](https://code.visualstudio.com/) for a unified development environment.\n\n```sh\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\nrustup update\nrustup show\n\nfnm use --install-if-missing\ncorepack enable\npnpm install\ncode ./swc-plugin-add-import-extension.code-workspace\n```\n\n## 👥 Contributors\n\n\u003c!-- readme: contributors -start --\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n        \u003ca href=\"https://github.com/medfreeman\"\u003e\n            \u003cimg src=\"https://avatars.githubusercontent.com/u/1805267?v=4\" width=\"50;\" alt=\"medfreeman\"/\u003e\n            \u003cbr /\u003e\n            \u003csub\u003e\u003cb\u003emedfreeman\u003c/b\u003e\u003c/sub\u003e\n        \u003c/a\u003e\n    \u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n\u003c!-- readme: contributors -end --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedfreeman%2Fswc-plugin-add-import-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmedfreeman%2Fswc-plugin-add-import-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedfreeman%2Fswc-plugin-add-import-extension/lists"}