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

@futagoza/tsconfig

v4.1.0

Published

A collection of configs I use with TypeScript

Readme

This package contains configuration files for TypeScript v6+ Require's tslib as a dependency for outputted code.

A collection of configuration files I use with tsconfig.json while working with TypeScript.

installation

$ npm i --save-dev @futagoza/tsconfig
$ npm i tslib

usage

Put the following into your tsconfig.json (hint: you can use a different base config on the CLI: tsc -p "custom name"):

{
    "extends": "@futagoza/tsconfig"
}

configurations

ES2020 modules add support for dynamic imports and import.meta ES2022 modules add support for top level await

@futagoza/tsconfig (or @futagoza/tsconfig/tsconfig.json)

  • Target ES2022 JavaScript output
  • Generate ES2022 modules
  • Strict type checking
  • Resolve JSON files
  • Enables source maps (with the original source included in the source maps)
  • Declaration files
  • Always use Unix style (lf) new lines
  • Do not emit on errors
  • Always import helpers from tslib to avoid duplication of TypeScript helpers
  • Exclude's a number of directories that shouldn't contain *.ts source files
  • Disable's automatic type acquisition
  • Allows importing *.js exports into *.ts files
  • Enforces consistent casing in filenames (when importing)
  • Does not emit declarations for code that has an @internal annotation
  • module is set to preserve written import/export & require statements
  • moduleResolution is set to bundler to shut up tsc, but my intent is node16
  • Enable and disable options for my most common use cases

@futagoza/tsconfig/browser/evergreen.json

  • Extends @futagoza/tsconfig
  • Target ES2025

@futagoza/tsconfig/browser/legacy.json

  • Extends @futagoza/tsconfig
  • Target ES5
  • Generate UMD modules
  • moduleResolution is set to node10

@futagoza/tsconfig/browser.json (or @futagoza/tsconfig/browser/modern.json)

  • Extends @futagoza/tsconfig
  • Target ES2020
  • Generate ES2020 modules

@futagoza/tsconfig/webworker.json

  • Extends @futagoza/tsconfig
  • Target ES2020
  • Use no module generator

@futagoza/tsconfig/node/core.json

  • Extends @futagoza/tsconfig
  • module is set to node20
  • moduleResolution is set to node16
  • Enables the skipLibCheck option
  • The @types/node type package is included without being referenced

@futagoza/tsconfig/node.json (or @futagoza/tsconfig/node/lts.json)

  • Extends @futagoza/tsconfig/node/core.json
  • Target ES2023 (used in Node.js 20)

@futagoza/tsconfig/node/current.json

  • Extends @futagoza/tsconfig/node/core.json
  • Target ES2025 (used in Node.js 24)

@futagoza/tsconfig/desktop.json

  • Meant for use with NW.js or Electron
  • Extends @futagoza/tsconfig/browser/evergreen.json
  • The @types/node type package is included without being referenced

@futagoza/tsconfig/dev.json

  • Extends @futagoza/tsconfig
  • Target ESNext (with library support for browsers, node and web-workers)
  • Generate esnext modules

license

Copyright © 2019+ Futago-za Ryuu Released under the MIT License, http://opensource.org/licenses/MIT