Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tsconfig/node12

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsconfig/node12

A base TSConfig for working with Node 12.

  • 12.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created

What is @tsconfig/node12?

@tsconfig/node12 is a TypeScript configuration preset specifically tailored for Node.js version 12. It provides a set of default TypeScript compiler options that are optimized for developing Node.js applications using TypeScript.

What are @tsconfig/node12's main functionalities?

TypeScript Configuration Preset

This feature allows you to extend the default TypeScript configuration for Node.js 12 by simply referencing the preset in your `tsconfig.json` file. This simplifies the setup process and ensures that your TypeScript configuration is optimized for Node.js 12.

{
  "extends": "@tsconfig/node12/tsconfig.json"
}

Node.js 12 Compatibility

The configuration preset includes compiler options that are compatible with Node.js 12, such as targeting ES2019 and using the CommonJS module system. This ensures that your TypeScript code is transpiled in a way that is compatible with the features and capabilities of Node.js 12.

{
  "compilerOptions": {
    "lib": ["es2019"],
    "module": "commonjs",
    "target": "es2019"
  }
}

Other packages similar to @tsconfig/node12

Keywords

FAQs

Package last updated on 27 Oct 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc