
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@babel/preset-typescript
Advanced tools
Babel preset for TypeScript.
See our website @babel/preset-typescript for more information or the issues associated with this package.
Using npm:
npm install --save-dev @babel/preset-typescript
or using yarn:
yarn add @babel/preset-typescript --dev
v7.28.5 (2025-10-23)
babel-parser
Runtime Errors for Function Call Assignment Targets (@liuxingbaoyu)babel-helper-validator-identifier
babel-plugin-proposal-destructuring-private
babel-parser
babel-plugin-proposal-discard-binding, babel-plugin-transform-destructuring
rest correctly returns plain array (@liuxingbaoyu)babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-plugin-transform-block-scoping, babel-plugin-transform-optional-chaining, babel-traverse, babel-types
babel-traverse
babel-core
buildCodeFrameError (@liuxingbaoyu)ts-loader is a TypeScript loader for webpack. It compiles TypeScript to JavaScript before bundling. It differs from @babel/preset-typescript in that it is specifically designed for use with webpack and uses the TypeScript compiler (tsc) directly rather than Babel.
Similar to ts-loader, awesome-typescript-loader is another loader for webpack that compiles TypeScript to JavaScript. It offers features like Babel integration and type checking in a separate process. It is an alternative to ts-loader and provides similar functionality to @babel/preset-typescript but with a focus on webpack integration.
The official TypeScript npm package provides the TypeScript compiler (tsc) which can be used to compile TypeScript files directly without Babel. It is more comprehensive in terms of TypeScript feature support compared to @babel/preset-typescript, which is focused on integrating TypeScript with Babel's ecosystem.
FAQs
Babel preset for TypeScript.
The npm package @babel/preset-typescript receives a total of 22,021,091 weekly downloads. As such, @babel/preset-typescript popularity was classified as popular.
We found that @babel/preset-typescript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.