{"id":17911264,"url":"https://github.com/toddtreece/rg-imports","last_synced_at":"2025-04-03T06:43:50.499Z","repository":{"id":138428805,"uuid":"241134558","full_name":"toddtreece/rg-imports","owner":"toddtreece","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-19T03:11:43.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T20:30:39.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/toddtreece.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-17T14:58:07.000Z","updated_at":"2020-02-19T03:11:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"13ce77d7-e921-484a-a53f-94e507d025cb","html_url":"https://github.com/toddtreece/rg-imports","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Frg-imports","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Frg-imports/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Frg-imports/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Frg-imports/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toddtreece","download_url":"https://codeload.github.com/toddtreece/rg-imports/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246952273,"owners_count":20859811,"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-28T19:37:31.905Z","updated_at":"2025-04-03T06:43:50.469Z","avatar_url":"https://github.com/toddtreece.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rg-imports\n\nRecursively find files that `import` a file and its dependents using [ripgrep].\n\n## Installation\n\nThis package expects that `rg` with be available in your `$PATH`.\n\n```\nnpm i -g rg-imports\n```\n\n## Usage\n\n```\n$ rg-imports --help\nrg-imports [options] \u003cfile\u003e\n\nRecursively find imports of a file and its dependents.\n\nPositionals:\n  file                Target file                                       [string]\n\nOptions:\n  --help              Show help                                        [boolean]\n  --version           Show version number                              [boolean]\n  --json              JSON output                     [boolean] [default: false]\n  --directory, --dir  Directory to search      [string] [default: \"/Users/todd\"]\n```\n\n## License\n\nCopyright (c) 2020 Todd Treece. Licensed under the MIT license.\n\n[ripgrep]: https://github.com/BurntSushi/ripgrep\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddtreece%2Frg-imports","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoddtreece%2Frg-imports","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddtreece%2Frg-imports/lists"}