{"id":41224249,"url":"https://github.com/space307/pure-index","last_synced_at":"2026-01-23T00:27:53.193Z","repository":{"id":217471359,"uuid":"735580852","full_name":"space307/pure-index","owner":"space307","description":"🌿 Clean your packages of unused exports with ease","archived":false,"fork":false,"pushed_at":"2025-05-05T02:01:26.000Z","size":815,"stargazers_count":21,"open_issues_count":12,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-11-09T08:32:21.431Z","etag":null,"topics":["cleanup","cli","ease","export","framework-agnostic","import","javascript-api","maintenance","monorepo","unused","workspace"],"latest_commit_sha":null,"homepage":"https://space307.github.io/pure-index","language":"TypeScript","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/space307.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}},"created_at":"2023-12-25T12:35:16.000Z","updated_at":"2024-10-18T19:16:04.000Z","dependencies_parsed_at":"2024-01-28T22:23:57.373Z","dependency_job_id":"c36f2a08-bc6b-445a-9816-075e1f18ae42","html_url":"https://github.com/space307/pure-index","commit_stats":null,"previous_names":["space307/pure-index"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/space307/pure-index","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space307%2Fpure-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space307%2Fpure-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space307%2Fpure-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space307%2Fpure-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/space307","download_url":"https://codeload.github.com/space307/pure-index/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space307%2Fpure-index/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28676143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T20:48:19.482Z","status":"ssl_error","status_checked_at":"2026-01-22T20:48:14.968Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["cleanup","cli","ease","export","framework-agnostic","import","javascript-api","maintenance","monorepo","unused","workspace"],"created_at":"2026-01-23T00:27:53.109Z","updated_at":"2026-01-23T00:27:53.179Z","avatar_url":"https://github.com/space307.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌿 Pure Index\n\nPure Index is a tool for packages. It helps to clean your packages of unused exports with ease.\u003cbr /\u003e\nAnd it’s also speedy ⚡️\n\n## Motivation\n\nWe will use the `@my/ui-kit` package as an example.\n\n```ts title=\"ui-kit/src/index.ts\"\nexport { Button } from './components/button';\nexport { Text } from './components/text';\n\nexport { ThemeProvider, useTheme, type Theme } from './themes';\n...\n```\n\nThe number of exports increases over time. All of its exportable code requires support. But is all of it being used?\n\nYou can check this manually by just looping through the exports. It’s time-consuming, and there is a chance of error. What if multiple repositories use its code?\n\nLet's automate this process!\n\n## Installation\n\n\u003e You can use any package manager\n\n```sh\nnpm install -D pure-index\n```\n\n## Quick Start\n\nPure Index can be used either through a [command line interface](https://space307.github.io/pure-index/intro/cli) with an optional [configuration file](https://space307.github.io/pure-index/reference/configuration) or its [JavaScript API](https://space307.github.io/pure-index/intro/js-api).\n\n1. Add the `check-exports` script in the `package.json` of packages that require checking.\n\n```diff\n    \"scripts\": {\n+     \"check-exports\": \"pure-index\"\n    }\n```\n\n2. Run\n\n```sh\nnpm run check-exports\n```\n\n3. Depending on the project, you may need to [configure](https://space307.github.io/pure-index/reference/configuration) Pure Index.\n\n## Documentation\n\nVisit [our documentation site](https://space307.github.io/pure-index) for additional information, guides, and API references..\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace307%2Fpure-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspace307%2Fpure-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace307%2Fpure-index/lists"}