On this page
Overview
@sindresorhus/tsconfig packages a reusable TypeScript compiler configuration. Projects extend it from tsconfig.json to keep type-checking rules consistent without copying the full option set.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Best fit
Before adoption
Official sources
- [1]tsconfig v8.1.0 README(2026-10-04)
- [2]tsconfig v8.1.0 compiler options(2026-10-04)
- [3]tsconfig v8.1.0 release(2026-10-04)
Supplemental curator note
These strict settings reflect the maintainer’s own projects. Test them on a small scope first because existing code may surface unused declarations, unsafe indexed access, and other new errors.
Try it in 3 steps
- 1
Create a sample project
Confirm that Node.js 20 or later is active, then create an empty Node.js project and enter its directory for the remaining steps.
mkdir tsconfig-demo && cd tsconfig-demo && npm init -y - 2
Install pinned config and compiler versions
Install the reviewed config release and a TypeScript version that satisfies its requirement.
npm install --save-dev typescript@5.9.3 @sindresorhus/tsconfig@8.1.0 - 3
Extend the config and type-check
Write a minimal config and source file, then confirm the inherited compiler rules accept the sample.
printf '%s\n' '{"extends":"@sindresorhus/tsconfig","compilerOptions":{"noEmit":true}}' > tsconfig.json && printf '%s\n' 'export const greeting: string = "hello";' > index.ts && npx tsc --noEmit
Growth
Growth trends · Last 30 days
377 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 0
- Open PRs
- 0
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- tsconfig
- typescript
- config
- npm-package
- Stars
- 377
- Forks
- 32
- Watchers
- 14
- Open issues
- 4
- Contributors
- 8
- Owner type
- User
- License
- MIT
- Repository last updated
- Oct 31, 2025
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Pi112,337 Stars
1 shared tag(s) · 1 shared category(s)
a minimal coding-agent harness designed to be extended around your own workflow
TypeScript - Playwright97,062 Stars
2 shared tag(s) · 1 shared category(s)
Drive Chromium, Firefox, and WebKit through one API and test runner for E2E, scripting, and agent browser automation
TypeScript - Storybook91,195 Stars
2 shared tag(s) · 1 shared category(s)
capture UI states once and reuse them across docs, interaction tests, and agent tooling
TypeScript - Docusaurus66,390 Stars
2 shared tag(s) · 1 shared category(s)
combine docs, blogs, custom React pages, and localization into a static documentation-site build
TypeScript - Expo52,545 Stars
2 shared tag(s) · 1 shared category(s)
build React Native apps for Android, iOS, and web from one project model
TypeScript - Jest45,471 Stars
2 shared tag(s) · 1 shared category(s)
Combine assertions, mocks, watch mode, snapshots, coverage, and worker isolation in one JavaScript test runner
TypeScript
Report incorrect information
Tell us if any listing information is incorrect or outdated.