Socket
Socket
Sign inDemoInstall

bun

Package Overview
Dependencies
Maintainers
0
Versions
718
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bun

Bun is a fast all-in-one JavaScript runtime.


Version published
Weekly downloads
141K
decreased by-26.13%
Maintainers
0
Weekly downloads
 
Created

What is bun?

Bun is a fast all-in-one JavaScript runtime, bundler, transpiler, and package manager. It aims to provide a comprehensive toolset for modern JavaScript development, focusing on performance and developer experience.

What are bun's main functionalities?

JavaScript Runtime

Bun can execute JavaScript code directly, similar to Node.js. This makes it suitable for running scripts and building server-side applications.

console.log('Hello, Bun!');

Bundler

Bun can bundle JavaScript and TypeScript files, optimizing them for production. This command takes an entry file and outputs the bundled code to a specified directory.

bun build src/index.js --outdir dist

Transpiler

Bun can transpile TypeScript to JavaScript, making it easier to work with modern JavaScript features while maintaining compatibility with older environments.

bun transpile src/index.ts --outdir dist

Package Manager

Bun includes a package manager that can install dependencies from the npm registry. This command installs the React library into your project.

bun install react

Other packages similar to bun

Keywords

FAQs

Package last updated on 27 Jul 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