node_modules bun implements Node.js' module
resolution algorithm, so you can use npm packages in bun.js. ESM
- and CommonJS are supported, but Bun internally uses ESM.
+ and CommonJS are supported, but Bun internally uses ESM
In bun.js, every file is transpiled.{" "}
TypeScript & JSX just
- work.
+ work
use the fastest system calls available with Bun.write{" "}
- to write, copy, pipe, send and clone files.
+ to write, copy, pipe, send and clone files
bun.js automatically loads environment variables from{" "}
@@ -621,7 +621,7 @@ export default ({ inlineCSS }) => (
>
Node-API (N-API)
- . Many Node.js native modules just work.
+ . Many Node.js native modules just work
bun:ffi call native code from JavaScript with bun's
@@ -630,7 +630,7 @@ export default ({ inlineCSS }) => (
node:fsnode:path bun.js
natively supports a growing list of Node.js core modules along
- with globals like Buffer and process.
+ with globals like Buffer and process
@@ -717,7 +717,7 @@ export default {
http://localhost:3000
{" "}
- in your browser
+ in your browser.
See{" "}
@@ -726,7 +726,7 @@ export default {
{" "}
and check out the docs. If you have any questions
or want help, join{" "}
- Bun's Discord
+ Bun's Discord.
Bun CLI
@@ -770,13 +770,13 @@ export default {
bun wiptest
A Jest-like test runner for JavaScript & TypeScript projects
- built-in to bun
+ built-in to bun.