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

@incentro-ic/config-typescript

v2.0.1

Published

Shared Typescript configurations.

Downloads

82

Readme

Incentro IC - Code Standards - Typescript

💫 Introduction

This package provides a set of shared Typescript configuration files that can be used across different projects.

💾 Installation

To install the package, use the following command:

pnpm add -D typescript @incentro-ic/typescript

🪛 Usage

After installing the package you can use the provided configuration as a basis by using the extends keyword in your tsconfig.json.

Here's an example:

{
  "extends": "@incentro-ic/typescript"
}

[!NOTE]

The configuration files do not include any includes, files, exclude or compilerOptions.outDir options. You will need to add these options according to your project's requirements.

⚙️ Configs

🏠 Base

This is the base Typescript configuration that is applicable to all projects. The settings in this configuration are primarily related to the strictness of Typescript and should rarely be overridden as they do not affect the output or the compilation target.

🪛 Usage

{
  "extends": "@incentro-ic/typescript"
}

🔼 App - Next.js

This is the Typescript configuration for all Next.js projects. It extends the base configuration and adds settings that are related to working with React and Next.js' Typescript plugin and type helpers.

🪛 Usage

{
  "extends": "@incentro-ic/typescript/app-next"
}

📦 Package

This is the base Typescript configuration for all projects that are meant to be published as a package and do not specifically target the browser or a Node.js environment. It extends the base configuration and adds settings that are related to the output of the Typescript compiler.

🪛 Usage

{
  "extends": "@incentro-ic/typescript/package"
}

🌎 Package - Browser

This is the Typescript configuration for all projects that are meant to be published as package targeting browser environments. It extends the package configuration and adds settings that are specific to browser environments, like enabling types for methods only available in DOM environments. It targets the latest versions of most major browsers.

[!IMPORTANT]

This config disables file emission by the Typescript compiler as it is expected that you'll be using a bundler to transform the source files for use in browser environments.

🪛 Usage

{
  "extends": "@incentro-ic/typescript/package-browser"
}

🟩 Package - Node

This is the Typescript configuration for all projects that are meant to be published as Node.js packages. It extends the package configuration and adds settings that are related to Node.js, specifically the LTS version.

🪛 Usage

{
  "extends": "@incentro-ic/typescript/package-node"
}

⚛️ Package - React

This is the Typescript configuration for all projects that are meant to be published as React packages. It extends the browser package configuration and adds settings that are related to interpreting JSX.

[!IMPORTANT]

This config disables file emission by the Typescript compiler as it is expected that you'll be using a bundler to transform the source files for use in browser environments.

🪛 Usage

{
  "extends": "@incentro-ic/typescript/package-react"
}