
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@tsconfig/node20
Advanced tools
Add the package to your "devDependencies"
:
npm install --save-dev @tsconfig/node20
yarn add --dev @tsconfig/node20
Add to your tsconfig.json
:
"extends": "@tsconfig/node20/tsconfig.json"
The tsconfig.json
:
{
"$schema": "https://json.schemastore.org/tsconfig",
"_version": "20.1.0",
"compilerOptions": {
"lib": ["es2023"],
"module": "nodenext",
"target": "es2022",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"moduleResolution": "node16"
}
}
You can find the code here.
@tsconfig/node18 is similar to @tsconfig/node20 but is tailored for Node.js version 18. It provides a set of TypeScript compiler options optimized for Node.js 18, which may have slight differences in target and library settings compared to Node.js 20.
@tsconfig/node16 is another similar package but is tailored for Node.js version 16. It provides TypeScript compiler options optimized for Node.js 16, which may have more significant differences in target and library settings compared to Node.js 20.
@tsconfig/recommended provides a general set of recommended TypeScript compiler options that are not specific to any Node.js version. It is useful for a broader range of TypeScript projects but may not be as optimized for Node.js 20 as @tsconfig/node20.
FAQs
A base TSConfig for working with Node 20.
We found that @tsconfig/node20 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.