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

bun

Package Overview
Dependencies
Maintainers
2
Versions
783
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bun

A useful container for streams

  • 0.0.12
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
150K
decreased by-21.32%
Maintainers
2
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 03 Oct 2017

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