{"id":36836053,"url":"https://github.com/pmqueiroz/import-holmes","last_synced_at":"2026-01-12T14:23:23.132Z","repository":{"id":133068044,"uuid":"610539281","full_name":"pmqueiroz/import-holmes","owner":"pmqueiroz","description":":shipit: a tool to inspect projects imports. Current supporting javascript/typescript and kotlin","archived":false,"fork":false,"pushed_at":"2025-03-28T19:06:21.000Z","size":4139,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-23T10:25:00.152Z","etag":null,"topics":["ast","javascript","kotlin","traverse","typescript"],"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/pmqueiroz.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":"2023-03-07T01:12:03.000Z","updated_at":"2025-03-28T21:36:39.000Z","dependencies_parsed_at":"2024-10-23T08:54:07.067Z","dependency_job_id":"bd8bd05d-570f-4ee8-bcea-b8735a2d9756","html_url":"https://github.com/pmqueiroz/import-holmes","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/pmqueiroz/import-holmes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmqueiroz%2Fimport-holmes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmqueiroz%2Fimport-holmes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmqueiroz%2Fimport-holmes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmqueiroz%2Fimport-holmes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmqueiroz","download_url":"https://codeload.github.com/pmqueiroz/import-holmes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmqueiroz%2Fimport-holmes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28340393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"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":["ast","javascript","kotlin","traverse","typescript"],"created_at":"2026-01-12T14:23:23.028Z","updated_at":"2026-01-12T14:23:23.115Z","avatar_url":"https://github.com/pmqueiroz.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[peam-url]: https://pmqueiroz.com\n[src-url]: https://swc.rs/\n[issues-url]: https://github.com/pmqueiroz/import-holmes/issues\n\n![import-holmes](./.github/brand.png)\n\n\u003cdiv align=\"center\"\u003e\n\n\u003csamp\u003e **Import Holmes** is a tool to inspect projects imports.\u003c/samp\u003e\n\n\u003c/div\u003e\n\n## Languages Supported\n- [x] TypeScript\n- [x] JavaScript\n- [x] Kotlin\n\n\u003e **Warning** this tool isn't in a stable version and can change\nat any moment, check [issues][issues-url] page to check futures features and current problems\n\n## Getting Started\n\n### Installing\n\n```sh\nbrew install pmqueiroz/tap/import-holmes\n```\n\n### Cli args\n\n| Options | Default | Meaning | Example |\n|---------|:-------:|---------|--|\n| `-m`, `--module` | ts/js: `package.json.dependencies` kt: `*`| Filter inspection by module's name | `-m a,b` |\n| `-s`, `--specifiers` | - | Filter inspection by specifiers name | `-s Button,Text` |\n| `-g`, `--glob` | ts/js: `**/*.{ts,tsx}` kt: `**/*.kt` | Glob to select files to inspect | `-g components/*.{js}` |\n| `-o`, `--output` | `table` | Configure the output type | `-o json` `-o csv` |\n| `--sort` | `none` | Sort the output by `ocurrences` or `referenced` | `--sort referenced` |\n| `--language` | `typescript` | Select which language parser use | `--language kotlin` |\n\n#### Config File\n\nFor better configuring you can also set a config file named `.holmesrc.json` following this pattern:\n\n```jsonc\n// .holmesrc.json\n{\n  \"$schema\": \"https://raw.githubusercontent.com/pmqueiroz/import-holmes/main/schema.json\",\n  \"module\": [\"some-module\"],\n  \"specifiers\": [\"first\", \"second\"],\n  \"include\": [\"**/*.{ts,tsx}\"],\n  \"exclude\": [\"node_modules/**\", \"**/*.{spec,test}.{ts,tsx}\", \"**/*.d.ts\"],\n  \"sortStrategy\": \"referenced\",\n  \"output\": \"json\",\n  \"language\": \"typescript\n}\n```\n\n\n## Demo\n\n![demo](./.github/demo.gif)\n\n\n\u003cdiv align=\"center\"\u003e\n\n\u003csamp\u003eMade with :heart: by [**Peam**][peam-url]\u003c/samp\u003e \n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmqueiroz%2Fimport-holmes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmqueiroz%2Fimport-holmes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmqueiroz%2Fimport-holmes/lists"}