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

esbuild-darwin-arm64

Package Overview
Dependencies
Maintainers
1
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esbuild-darwin-arm64

The macOS ARM 64-bit binary for esbuild, a JavaScript bundler.

  • 0.11.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
997K
increased by1.47%
Maintainers
1
Weekly downloads
 
Created

What is esbuild-darwin-arm64?

The esbuild-darwin-arm64 npm package is a binary package for the esbuild bundler and minifier tool specifically compiled for macOS on ARM64 architecture (Apple Silicon). It allows developers to bundle JavaScript, TypeScript, and CSS files for the web at an extremely fast speed. It also provides minification and tree-shaking capabilities.

What are esbuild-darwin-arm64's main functionalities?

Bundling JavaScript and TypeScript

This feature allows you to bundle multiple JavaScript or TypeScript files into a single file, which can then be served to the browser. The bundling process includes dependency resolution and can significantly reduce the number of files that need to be loaded by the browser.

require('esbuild').build({
  entryPoints: ['app.js'],
  bundle: true,
  outfile: 'out.js'
}).catch(() => process.exit(1))

Minifying code

This feature enables the minification of JavaScript and CSS files. Minification removes unnecessary characters from code without changing its functionality, which results in smaller file sizes and faster load times in production.

require('esbuild').build({
  entryPoints: ['app.js'],
  minify: true,
  outfile: 'out.js'
}).catch(() => process.exit(1))

Tree-shaking

Tree-shaking is a feature that removes unused code from the final bundle. It helps in reducing the size of the bundle by excluding code that is not actually used in the application.

require('esbuild').build({
  entryPoints: ['app.js'],
  bundle: true,
  treeShaking: true,
  outfile: 'out.js'
}).catch(() => process.exit(1))

Other packages similar to esbuild-darwin-arm64

FAQs

Package last updated on 03 Apr 2021

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