Socket
Socket
Sign inDemoInstall

@swc/core-linux-x64-gnu

Package Overview
Dependencies
Maintainers
2
Versions
533
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swc/core-linux-x64-gnu

Super-fast alternative for babel


Version published
Weekly downloads
6M
decreased by-8%
Maintainers
2
Weekly downloads
 
Created

Package description

What is @swc/core-linux-x64-gnu?

The @swc/core-linux-x64-gnu package is a precompiled version of SWC (Speedy Web Compiler) specifically for Linux x64 systems using the GNU libc. SWC is a super-fast compiler written in Rust that allows for transforming ECMAScript 2015+ code into a backward-compatible version of JavaScript that can be run in older browsers. It's designed for high-speed JavaScript compilation but also includes features for minification, bundling, and testing.

What are @swc/core-linux-x64-gnu's main functionalities?

JavaScript/TypeScript Compilation

Compiles modern JavaScript or TypeScript code down to ES5 for compatibility with older browsers.

require('@swc/core-linux-x64-gnu').transformSync('const x = 1;', { jsc: { target: 'es5' } });

Code Minification

Minifies JavaScript code to reduce file size, which is beneficial for production environments.

require('@swc/core-linux-x64-gnu').transformSync('const x = 1;', { minify: true });

Source Maps

Generates source maps for the transformed code, aiding in debugging by mapping the compiled code back to the original source code.

require('@swc/core-linux-x64-gnu').transformFileSync('input.js', { sourceMaps: true });

Other packages similar to @swc/core-linux-x64-gnu

Changelog

Source

[1.5.0] - 2024-04-24

Bug Fixes

  • (es/minifier) Abort seq inline on recursive usage (#8887) (cd4548f)

Features

Readme

Source

@swc/core-linux-x64-gnu

This is the x86_64-unknown-linux-gnu binary for @swc/core

Keywords

FAQs

Package last updated on 24 Apr 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc