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

@ballatech/tsconfig

v1.2.0

Published

Internal shared tsconfig presets for the monorepo. Private package.

Readme

@ballatech/tsconfig

Internal shared tsconfig presets for the monorepo. Private package.

Presets

  • tsconfig.base.json: Common base for all TypeScript projects in the workspace.
  • tsconfig.lambda22.json: Type-checking preset for AWS Lambda Node 22.x functions bundled with esbuild (no emit). Can be used for frontend builds as well.
  • tsconfig.node22.json: Type-checking preset for Node 22 scripts executed with tsx or bundled with esbuild (no emit).
  • tsconfig.lib.json: Library preset for packages built with tsup, emitting declarations and sourcemaps.

Installation

Install package with shared dependencies, add -w flag if using workspaces.

pnpm add -D @ballatech/tsconfig @effect/language-service @types/node@22

Usage (pnpm workspaces)

In a package tsconfig.json, extend the desired preset:

{
  "$schema": "https://json.schemastore.org/tsconfig",
  "extends": "@ballatech/tsconfig/tsconfig.base.json",
  "compilerOptions": {
    "outDir": "dist"
  },
  "include": ["src"]
}

Lambda (Node 22, esbuild bundling, tsc for types only):

{
  "extends": "@ballatech/tsconfig/tsconfig.lambda22.json",
  "include": ["src"]
}

Node 22 runtime (tsx/esbuild, no emit):

{
  "extends": "@ballatech/tsconfig/tsconfig.node22.json",
  "include": ["src"]
}

Library (tsup builds; emit d.ts):

{
  "extends": "@ballatech/tsconfig/tsconfig.lib.json",
  "compilerOptions": {
    "outDir": "dist"
  },
  "include": ["src"]
}

Notes:

  • All presets target modern Node (ES2022), use moduleResolution: "Bundler", and set strict type-checking.
  • Library preset enables declaration emit; bundlers like tsup should be configured to preserve type output.

CDK usage with NodejsFunction

CommonJS (default)

import * as lambda from 'aws-cdk-lib/aws-lambda'
import * as nodejs from 'aws-cdk-lib/aws-lambda-nodejs'
import { Stack } from 'aws-cdk-lib'
import { Construct } from 'constructs'

export class MyStack extends Stack {
  constructor(scope: Construct, id: string) {
    super(scope, id)

    new nodejs.NodejsFunction(this, 'FnCjs', {
      entry: 'src/handler.ts',
      handler: 'handler',
      runtime: lambda.Runtime.NODEJS_22_X,
      bundling: {
        tsconfig: 'packages/tsconfig/tsconfig.lambda22.json',
        // format defaults to CJS; target inferred from runtime (node22)
      },
    })
  }
}

ESM

new nodejs.NodejsFunction(this, 'FnEsm', {
  entry: 'src/handler.ts',
  handler: 'handler',
  runtime: lambda.Runtime.NODEJS_22_X,
  bundling: {
    tsconfig: 'packages/tsconfig/tsconfig.lambda22.json',
    format: nodejs.OutputFormat.ESM,
    target: 'node22',
  },
})