Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
esbuild-linux-arm64
Advanced tools
The esbuild-linux-arm64 package is a high-performance JavaScript bundler and minifier specifically built for the ARM64 architecture on Linux. It is designed to be extremely fast and efficient, making it ideal for modern web development workflows.
Bundling
This feature allows you to bundle multiple JavaScript files into a single file. The code sample demonstrates how to bundle an entry file 'src/index.js' into an output file 'dist/bundle.js'.
const esbuild = require('esbuild');
esbuild.build({
entryPoints: ['src/index.js'],
bundle: true,
outfile: 'dist/bundle.js',
}).catch(() => process.exit(1));
Minification
This feature allows you to minify JavaScript files to reduce their size. The code sample shows how to minify an entry file 'src/index.js' and output it as 'dist/bundle.min.js'.
const esbuild = require('esbuild');
esbuild.build({
entryPoints: ['src/index.js'],
minify: true,
outfile: 'dist/bundle.min.js',
}).catch(() => process.exit(1));
TypeScript Support
This feature allows you to bundle TypeScript files. The code sample demonstrates how to bundle a TypeScript entry file 'src/index.ts' into an output file 'dist/bundle.js'.
const esbuild = require('esbuild');
esbuild.build({
entryPoints: ['src/index.ts'],
bundle: true,
outfile: 'dist/bundle.js',
loader: { '.ts': 'ts' },
}).catch(() => process.exit(1));
CSS Bundling
This feature allows you to bundle CSS files. The code sample shows how to bundle a CSS entry file 'src/styles.css' into an output file 'dist/styles.css'.
const esbuild = require('esbuild');
esbuild.build({
entryPoints: ['src/styles.css'],
bundle: true,
outfile: 'dist/styles.css',
}).catch(() => process.exit(1));
Webpack is a popular module bundler for JavaScript applications. It offers a wide range of features including code splitting, lazy loading, and plugins for various tasks. Compared to esbuild-linux-arm64, Webpack is more feature-rich but generally slower.
Rollup is a module bundler for JavaScript that focuses on ES6 modules. It is known for its tree-shaking capabilities, which help to remove unused code. Rollup is generally slower than esbuild-linux-arm64 but offers more advanced optimizations.
Parcel is a web application bundler that requires zero configuration. It automatically handles common tasks like code splitting and hot module replacement. While Parcel is easier to set up, it is not as fast as esbuild-linux-arm64.
This is the Linux ARM 64-bit binary for esbuild, a JavaScript bundler and minifier. See https://github.com/evanw/esbuild for details.
FAQs
The Linux ARM 64-bit binary for esbuild, a JavaScript bundler.
The npm package esbuild-linux-arm64 receives a total of 617,092 weekly downloads. As such, esbuild-linux-arm64 popularity was classified as popular.
We found that esbuild-linux-arm64 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.