Gathering detailed insights and metrics for @tsconfig/node16
Gathering detailed insights and metrics for @tsconfig/node16
Gathering detailed insights and metrics for @tsconfig/node16
Gathering detailed insights and metrics for @tsconfig/node16
Hosts TSConfigs to extend in a TypeScript app, tuned to a particular runtime environment
npm install @tsconfig/node16
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
6,395 Stars
364 Commits
240 Forks
42 Watching
17 Branches
78 Contributors
Updated on 27 Nov 2024
TypeScript (100%)
Cumulative downloads
Total Downloads
Last day
-0%
4,144,631
Compared to previous day
Last week
5.3%
22,220,306
Compared to previous week
Last month
-37.4%
89,473,770
Compared to previous month
Last year
41.1%
935,503,760
Compared to previous year
No dependencies detected.
Hosts TSConfigs for you to extend in your apps, tuned to a particular runtime environment. Owned and improved by the community. Basically Definitely Typed for TSConfigs.
We target the latest stable version of TypeScript, note that because we want to be consistent with the versioning the target runtime we can't always do semver releases.
Install:
1npm install --save-dev @tsconfig/recommended 2yarn add --dev @tsconfig/recommended
Add to your tsconfig.json
:
1"extends": "@tsconfig/recommended/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/bun 2yarn add --dev @tsconfig/bun
Add to your tsconfig.json
:
1"extends": "@tsconfig/bun/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/create-react-app 2yarn add --dev @tsconfig/create-react-app
Add to your tsconfig.json
:
1"extends": "@tsconfig/create-react-app/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/cypress 2yarn add --dev @tsconfig/cypress
Add to your tsconfig.json
:
1"extends": "@tsconfig/cypress/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/deno 2yarn add --dev @tsconfig/deno
Add to your tsconfig.json
:
1"extends": "@tsconfig/deno/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/docusaurus 2yarn add --dev @tsconfig/docusaurus
Add to your tsconfig.json
:
1"extends": "@tsconfig/docusaurus/tsconfig.json"
NOTE: You may need to add
"baseUrl": "."
to yourtsconfig.json
to support proper file resolution.
Install:
1npm install --save-dev @tsconfig/ember 2yarn add --dev @tsconfig/ember
Add to your tsconfig.json
:
1"extends": "@tsconfig/ember/tsconfig.json"
NOTE: You may need to add
"baseUrl": "."
to yourtsconfig.json
to support proper file resolution.
Install:
1npm install --save-dev @tsconfig/next 2yarn add --dev @tsconfig/next
Add to your tsconfig.json
:
1"extends": "@tsconfig/next/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node-lts 2yarn add --dev @tsconfig/node-lts
Add to your tsconfig.json
:
1"extends": "@tsconfig/node-lts/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node10 2yarn add --dev @tsconfig/node10
Add to your tsconfig.json
:
1"extends": "@tsconfig/node10/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node12 2yarn add --dev @tsconfig/node12
Add to your tsconfig.json
:
1"extends": "@tsconfig/node12/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node14 2yarn add --dev @tsconfig/node14
Add to your tsconfig.json
:
1"extends": "@tsconfig/node14/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node16 2yarn add --dev @tsconfig/node16
Add to your tsconfig.json
:
1"extends": "@tsconfig/node16/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node17 2yarn add --dev @tsconfig/node17
Add to your tsconfig.json
:
1"extends": "@tsconfig/node17/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node18 2yarn add --dev @tsconfig/node18
Add to your tsconfig.json
:
1"extends": "@tsconfig/node18/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node19 2yarn add --dev @tsconfig/node19
Add to your tsconfig.json
:
1"extends": "@tsconfig/node19/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node20 2yarn add --dev @tsconfig/node20
Add to your tsconfig.json
:
1"extends": "@tsconfig/node20/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node21 2yarn add --dev @tsconfig/node21
Add to your tsconfig.json
:
1"extends": "@tsconfig/node21/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node22 2yarn add --dev @tsconfig/node22
Add to your tsconfig.json
:
1"extends": "@tsconfig/node22/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/node23 2yarn add --dev @tsconfig/node23
Add to your tsconfig.json
:
1"extends": "@tsconfig/node23/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/nuxt 2yarn add --dev @tsconfig/nuxt
Add to your tsconfig.json
:
1"extends": "@tsconfig/nuxt/tsconfig.json"
NOTE: You may need to add
"baseUrl": "."
to yourtsconfig.json
to support proper file resolution.
Install:
1npm install --save-dev @tsconfig/react-native 2yarn add --dev @tsconfig/react-native
Add to your tsconfig.json
:
1"extends": "@tsconfig/react-native/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/remix 2yarn add --dev @tsconfig/remix
Add to your tsconfig.json
:
1"extends": "@tsconfig/remix/tsconfig.json"
NOTE: You may need to add
"baseUrl": "."
to yourtsconfig.json
to support proper file resolution.
Install:
1npm install --save-dev @tsconfig/strictest 2yarn add --dev @tsconfig/strictest
Add to your tsconfig.json
:
1"extends": "@tsconfig/strictest/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/svelte 2yarn add --dev @tsconfig/svelte
Add to your tsconfig.json
:
1"extends": "@tsconfig/svelte/tsconfig.json"
NOTE: After
@tsconfig/svelte@2.0.0
, you should add/// <reference types="svelte" />
to ad.ts
or aindex.ts
(entry) file to prevent typescript error.
Install:
1npm install --save-dev @tsconfig/taro 2yarn add --dev @tsconfig/taro
Add to your tsconfig.json
:
1"extends": "@tsconfig/taro/tsconfig.json"
Install:
1npm install --save-dev @tsconfig/vite-react 2yarn add --dev @tsconfig/vite-react
Add to your tsconfig.json
:
1"extends": "@tsconfig/vite-react/tsconfig.json"
Because of previous limitations in the config extension system of TypeScript, this repo used to provide combined configs from a few common bases (like Node + ESM, Node + Strictest and so on).
This issue is now moot since TypeScript v5.0.0, which provides the ability to
extend from multiple configs at once. For instance, if you want
to start from a Node 18 + Strictest base config, you can install both
@tsconfig/node18
and @tsconfig/strictest
packages and extend those configs like so:
1// tsconfig.json 2{ 3 "extends": ["@tsconfig/strictest/tsconfig", "@tsconfig/node18/tsconfig"] 4}
You can see the result of the combined configs via tsc --showConfig
.
@tsconfig/esm
?We deprecated it in favour of setting module/moduleResolution to node/bundler.
1git clone https://github.com/tsconfig/bases.git tsconfig-bases 2cd tsconfig-bases
Then edit the tsconfig.json files in bases/
.
Every morning there is a GitHub Action which deploys any changed bases.
To generate the recommended TSConfig which is generated via tsc --init
, run:
1deno run --allow-read --allow-run --allow-env --allow-write --allow-net scripts/generate-recommend.ts
Create a set of npm packages via:
1deno run --allow-read --allow-write --allow-net scripts/create-npm-packages.ts
You can inspect them in the packages/
folder, then they are deployed by passing in the paths to the base files via stdin:
1deno run --allow-read --allow-run --allow-env --allow-net scripts/deploy-changed-npm-packages.ts
The rest of the files in this repo are for deploying, which uses Deno 1.0.
If you add a new json file, please run deno run --allow-read --allow-write scripts/update-markdown-readme.ts
to update the README.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 10/11 approved changesets -- score normalized to 9
Reason
7 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 7
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More