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

@pindakaasman/tsconfig

v0.2.2

Published

Ramon's shared TypeScript configs. Targets TypeScript v5, v6 and v7.

Readme

@pindakaasman/tsconfig

Ramon's shared TypeScript configs. Targets TypeScript v5, v6 and v7.

Four files, meant to be extended, not used directly:

| File | What it is | | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | base.json | Universal strict settings (strict, skipLibCheck, esModuleInterop, …). Extended by the rest, rarely used alone. | | app.json | For apps built by a bundler (extends base.json): noEmit: true, moduleResolution: "bundler". | | library.json | For packages tsc itself compiles and emits (extends base.json): noEmit: false, declaration, NodeNext, incremental: false (so a clean rebuild after deleting dist/ always emits). Placeholder — see note below. | | nextjs.json | For Next.js apps (extends app.json): jsx: "react-jsx", the next TS plugin. |

Note on library.json: no actual library tsconfig was on hand when this package was built — every config Ramon had was Next.js-based. It's a reasonable placeholder (NodeNext module/resolution, declaration output to dist/), not a stated preference. Revisit once there's a real library project to derive it from.

Why no paths, include, exclude, rootDir, or outDir in these files

Those options are relative-path-based and where they get resolved from (the package's own directory vs. your project's) is inconsistent across TypeScript versions once a base config lives inside node_modules. Every project's source layout is different anyway, so these stay local to your own tsconfig.json rather than baked into the shared package.

Install

npm install --save-dev typescript @pindakaasman/tsconfig

Usage

tsconfig.json, Next.js project:

{
  "extends": "@pindakaasman/tsconfig/nextjs.json",
  "compilerOptions": {
    "paths": {
      "~/*": ["./src/*"]
    }
  },
  "include": [
    "next-env.d.ts",
    "**/*.ts",
    "**/*.tsx",
    ".next/types/**/*.ts",
    "**/*.mts"
  ],
  "exclude": ["node_modules"]
}

tsconfig.json, library that tsc compiles directly:

{
  "extends": "@pindakaasman/tsconfig/library.json",
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "dist",
    "paths": {
      "~/*": ["./src/*"]
    }
  },
  "include": ["src/**/*.ts"],
  "exclude": ["node_modules", "dist"]
}

~/* (rather than the more common @/*) is deliberate: it avoids visual overlap with scoped package imports like @pindakaasman/*.