{"id":28174357,"url":"https://github.com/2bad/ts-lib-starter","last_synced_at":"2026-02-28T06:54:23.856Z","repository":{"id":168481180,"uuid":"644193729","full_name":"2BAD/ts-lib-starter","owner":"2BAD","description":"A modern, zero-config template for building high-quality TypeScript libraries.","archived":false,"fork":false,"pushed_at":"2025-05-13T13:03:22.000Z","size":1330,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-13T13:53:52.360Z","etag":null,"topics":["eslint","esm","starter","starter-kit","starter-template","template","template-repository","typescript","vitest"],"latest_commit_sha":null,"homepage":"","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/2BAD.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}},"created_at":"2023-05-23T02:41:00.000Z","updated_at":"2025-05-13T13:03:26.000Z","dependencies_parsed_at":"2025-04-21T12:28:16.031Z","dependency_job_id":"8a579a98-06b6-4d66-b05b-58b4a79910db","html_url":"https://github.com/2BAD/ts-lib-starter","commit_stats":null,"previous_names":["2bad/ts-lib-starter"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2BAD%2Fts-lib-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2BAD%2Fts-lib-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2BAD%2Fts-lib-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2BAD%2Fts-lib-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2BAD","download_url":"https://codeload.github.com/2BAD/ts-lib-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254430310,"owners_count":22069909,"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":["eslint","esm","starter","starter-kit","starter-template","template","template-repository","typescript","vitest"],"created_at":"2025-05-15T22:16:03.865Z","updated_at":"2026-02-28T06:54:18.836Z","avatar_url":"https://github.com/2BAD.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript Library Starter\n\nA modern, zero-config template for building high-quality TypeScript libraries. Built with ESM-first architecture and powered by SWC for blazing-fast compilation, this starter kit provides everything you need to create, test, and publish professional TypeScript packages.\n\n## ✨ Key Features\n\n- **⚡️ Lightning-Fast Build Pipeline**\n  - SWC-powered compilation for rapid development cycles\n  - Optimized TypeScript configuration with path aliases\n  - Streamlined build process with parallel execution\n\n- **🔍 Comprehensive Quality Tools**\n  - Biome for fast, consistent code formatting and linting\n  - Extensive ESLint configuration for code quality (powered by [axiom](https://github.com/2BAD/axiom))\n  - Integrated test runner with coverage reporting\n\n- **📦 Modern Package Development**\n  - ESM-first architecture\n  - Automatic type declaration generation\n  - Properly configured package exports\n  - GitHub Actions workflow ready\n\n- **🛠 Developer Experience**\n  - Zero configuration needed to get started\n  - Type-safe development with strict TypeScript settings\n  - Hot-reloading test environment with Vitest\n  - Automated version management and publishing\n\n## Getting Started\n\n1. Click \"Use this template\" on GitHub\n2. Clone your new repository\n3. Search and replace the following:\n   - `ts-lib-starter` → your package name\n   - `2BAD` → your name/organization (except `@2bad/tsconfig` references)\n4. Run `npm install`\n5. Start developing!\n\n## Available Scripts\n\n```bash\n# Development\nnpm run test        # Run all tests\nnpm run test:unit   # Run unit tests with coverage\nnpm run build       # Build the library\nnpm run check       # Run all code quality checks\n\n# Maintenance\nnpm run fix         # Auto-fix all code style issues\nnpm run fix:format  # or just the format code with Biome\n```\n\n## Package Structure\n\n```\n├── source/         # Source code\n├── tests/          # Test files\n├── build/          # Compiled output (generated)\n└── package.json    # Package configuration\n```\n\n## Why Use This Template?\n\n- **Performance First**: SWC compilation is significantly faster than traditional TypeScript compilation\n- **Modern Standards**: Built with current best practices and modern JavaScript features\n- **Quality Focused**: Comprehensive testing and linting setup ensures high-quality code\n- **Production Ready**: Includes all necessary configurations for building and publishing packages\n- **Actively Maintained**: Regular updates to dependencies and features\n\n## Requirements\n\n- Node.js \u003e= 20\n- npm \u003e= 10.8.3\n\n## License\n\nMIT © 2BAD\n\n---\n\nThis template is part of the [@2bad](https://github.com/2BAD) ecosystem of development tools.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2bad%2Fts-lib-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2bad%2Fts-lib-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2bad%2Fts-lib-starter/lists"}