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

@cbnsndwch/tsconfig

v0.5.7

Published

Shared TS Config

Readme

@cbnsndwch/tsconfig

Shared TypeScript configurations for consistent compiler settings across projects.

Installation

npm install --save-dev @cbnsndwch/tsconfig typescript
yarn add --dev @cbnsndwch/tsconfig typescript
pnpm add --save-dev @cbnsndwch/tsconfig typescript

Available Configurations

Base Configuration

The foundational TypeScript configuration with modern defaults and strict type checking.

Features:

  • ES2023 target with NodeNext modules
  • Strict type checking enabled
  • Declaration files generation
  • JSON module resolution
  • Optimized for Node.js and Vitest

Usage:

{
  "extends": "@cbnsndwch/tsconfig/base.json"
}

NestJS Library Configuration

Specialized configuration for NestJS libraries and applications.

Features:

  • Extends base configuration
  • Decorator metadata emission enabled
  • Experimental decorators support
  • Source maps generation
  • Optimized for NestJS development

Usage:

{
  "extends": "@cbnsndwch/tsconfig/nest-library.json"
}

React Library Configuration

Configuration tailored for React libraries and components.

Features:

  • Extends base configuration
  • DOM and DOM.Iterable lib support
  • React JSX transformation
  • Vite and Vitest types included
  • Optimized for React development

Usage:

{
  "extends": "@cbnsndwch/tsconfig/react-library.json"
}

Project Setup Examples

Basic Node.js Library

{
  "extends": "@cbnsndwch/tsconfig/base.json",
  "compilerOptions": {
    "outDir": "./dist",
    "rootDir": "./src"
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist"]
}

NestJS Application

{
  "extends": "@cbnsndwch/tsconfig/nest-library.json",
  "compilerOptions": {
    "outDir": "./dist",
    "rootDir": "./src"
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist", "test", "**/*spec.ts"]
}

React Component Library

{
  "extends": "@cbnsndwch/tsconfig/react-library.json",
  "compilerOptions": {
    "outDir": "./dist",
    "rootDir": "./src",
    "declaration": true,
    "declarationDir": "./dist/types"
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist", "**/*.test.*", "**/*.spec.*"]
}

Configuration Details

Base Configuration Features

  • Target: ES2023 for modern JavaScript features
  • Module: NodeNext for full ESM/CJS compatibility
  • Module Resolution: NodeNext for Node.js compatibility
  • Strict Mode: Full TypeScript strict checking enabled
  • Declaration Maps: Generated for better debugging experience
  • Isolated Modules: Ensures each file can be transpiled independently

Type Checking Features

  • strict: true - Enables all strict type checking options
  • noUncheckedIndexedAccess: true - Prevents unsafe array/object access
  • skipLibCheck: true - Improves build performance
  • forceConsistentCasingInFileNames: true - Ensures case-sensitive imports

License

MIT

Author

cbnsndwch LLC