npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@starci/tsconfig

v2.0.7

Published

The StarCi TypeScript configs: base, be (back end), build (back-end emit overlay), next (front-end app) and e2e. Strict, including noImplicitAny.

Readme

@starci/tsconfig

Five TypeScript configs, all strict, all with noImplicitAny, and every strictness flag in base.json so that no preset (back end, front end, overlay) is looser than another. Install it from the npm registry at the exact version in knowledge/hfs/canon-pins.yaml (see packages/README.md).

| File | For | Adds to base.json | |---|---|---| | base.json | anything | strict, noImplicitAny, strictNullChecks, noImplicitOverride, noFallthroughCasesInSwitch, noImplicitReturns, noUncheckedIndexedAccess, exactOptionalPropertyTypes, noUnusedLocals, noUnusedParameters, allowUnusedLabels: false, isolatedModules, esModuleInterop, resolveJsonModule, skipLibCheck | | be.json | back end | allowJs: false, decorators and decorator metadata, nodenext module and resolution (CommonJS output, since a back end has no "type": "module"), ES2023, noEmit | | build.json | back-end emit | be.json with noEmit: false | | next.json | front-end app | esnext + bundler, react-jsx, DOM libs, noEmit, the next plugin | | e2e.json | e2e typecheck overlay | noEmit, no incremental, no declarations |

skipLibCheck is the one flag that is on by design: checking the declaration files of node_modules reports errors in third-party typings (a package whose optional peer is absent, a @types package that assumes the DOM library) that no repository can fix. It lives only in base.json; no repository config restates it.

None of them sets outDir, rootDir, baseUrl, paths, include or exclude: TypeScript resolves those against the file that declares them, so a shared file would point inside node_modules. The repository owns them, and for a back end the repository owns exactly one of them, paths.

A back-end tsconfig.json is a managed file (starci app sync renders it, starci app check compares it, HFS_TS_STRICT names any flag it lowers): the preset and the three aliases, nothing else.

// tsconfig.json (back end)
{
  "extends": "@starci/tsconfig/be.json",
  "compilerOptions": { "paths": { "@features/*": ["./src/features/*"], "@modules/*": ["./src/modules/*"], "@tests/*": ["./src/tests/*"] } }
}

tsconfig.build.json and tsconfig.e2e.json are managed too. They put an overlay preset after the repository config (TypeScript 5 extends array; later wins) and carry only the path-relative options a preset cannot hold (outDir, include, exclude).

// tsconfig.e2e.json
{ "extends": ["./tsconfig.json", "@starci/tsconfig/e2e.json"], "include": ["src/tests/e2e/**/*.ts"] }

test:e2e must be npm run typecheck:e2e && jest --selectProjects e2e: jest runs with diagnostics: false, so this config is the one place e2e types are checked.