
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@supercharge/tsconfig
Advanced tools
Shared TypeScript config for Supercharge projects
Follow @marcuspoehls and @superchargejs for updates!
npm i -D @supercharge/tsconfig
| Major Release | Node.js version | Module System |
|---|---|---|
8.x | 22.x | ESM |
7.x | 20.x | ESM |
6.x | 20.x | CommonJS |
5.x | 18.x | CommonJS |
4.x | 16.x | CommonJS |
3.x | 14.x | CommonJS |
2.x | 12.x | CommonJS |
1.x | 8.x | CommonJS |
Create a tsconfig.json file in your project and extends the @supercharge/tsconfig TypeScript config:
When installed, configure your tsconfig.json like this:
{
"extends": "@supercharge/tsconfig",
"compilerOptions": {
"outDir": "dist"
}
}
You can refine your tsconfig.json to your needs. Let’s say you want to target Node.js v16. Change your compilerOptions to this:
{
"extends": "@supercharge/tsconfig",
"display": "Node.js v16",
"compilerOptions": {
"outDir": "dist",
"target": "ES2021",
"lib": ["ES2021"]
}
}
Customizing your compilerOptions when extending the @supercharge/tsconfig package only overrides the listed properties. Every other option defined in the base configuration will be inherited.
git checkout -b my-featuregit commit -am 'Add some feature'git push origin my-new-featureMIT © Supercharge
superchargejs.com · GitHub @supercharge · Twitter @superchargejs
FAQs
Shareable TypeScript config
We found that @supercharge/tsconfig demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.