{"id":18805852,"url":"https://github.com/m-thompson-code/import-analytics","last_synced_at":"2026-01-08T00:30:16.871Z","repository":{"id":211146443,"uuid":"727927274","full_name":"m-thompson-code/import-analytics","owner":"m-thompson-code","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-17T22:55:08.000Z","size":6943,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T18:41:23.847Z","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/m-thompson-code.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":"2023-12-05T21:34:12.000Z","updated_at":"2023-12-05T21:34:57.000Z","dependencies_parsed_at":"2023-12-07T19:27:55.850Z","dependency_job_id":"8a75eba4-ee69-4090-b105-f4646407899f","html_url":"https://github.com/m-thompson-code/import-analytics","commit_stats":null,"previous_names":["m-thompson-code/import-analytics"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thompson-code%2Fimport-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thompson-code%2Fimport-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thompson-code%2Fimport-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thompson-code%2Fimport-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-thompson-code","download_url":"https://codeload.github.com/m-thompson-code/import-analytics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239742365,"owners_count":19689308,"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-07T22:45:17.522Z","updated_at":"2026-01-08T00:30:16.824Z","avatar_url":"https://github.com/m-thompson-code.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# import-analytics\n\n## How to Run\n\nLibrary expects a `input.json` files at root of this directory [[schema]](./src/types.ts#20):\n\n````ts\nexport interface Input {\n  /**\n   * Check repos for imports from library.\n   */\n  library: {\n    /**\n     * Name of library:\n     *\n     * ```ts\n     * import { SomeImport } from 'name-of-library';\n     * ```\n     */\n    name: string;\n    /**\n     * List of imports to check for.\n     */\n    imports: string[];\n  };\n  /**\n   * Check repo for dependencies found in package.json (Optional).\n   */\n  dependencies?: string[];\n  /**\n   * List of repos to check against and git options for each repo.\n   */\n  repos: Repo[];\n  /**\n   * Default git options that apply to all repos. These options can be overridden.\n   */\n  git: GitOptions;\n}\n````\n\n```bash\nnpm run dev # build and run\n# or\nnpm run build \u0026\u0026 npm run start # build and run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-thompson-code%2Fimport-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-thompson-code%2Fimport-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-thompson-code%2Fimport-analytics/lists"}