FinepherFinepher
AR
Programming 2 min read

Mind Blowing Features of Bun 1.2

Asha Vardhan

Asha Vardhan

February 19, 2025

Bun 1.2.1 is out! It's faster, more optimized, and packed with mind-blowing features that take performance to the next level.

Bun now getting famous and many companies are adopting it as their primary runtime environment instead of node. They recently released Bun 1.2 and other than speed, there are some cool features you might like it

Run C within Javascript

Now you can run C or C++ within js. if there is any CPU utilisation task. you can run without any additional configuration.

Build in AWS S3 support

You can use S3 directly on your project without any additional packages and it's more optimized for speed.

import { s3 } from "bun";

const file = s3.file("folder/my-file.txt");
// file instanceof Blob

const content = await file.text();

Postgres support

If you are using Bun. you don't need any other ORM for Postgress since Bun providing a faster one

import { sql } from "bun";

const users = [
  { name: "Alice", age: 25 },
  { name: "Bob", age: 65 },
];

await sql`
  INSERT INTO users (name, age)
  VALUES ${sql(users)}
`;

CSS parser

Bun provides a CSS parser derived from the popular library LightningCSS. Bun CSS bundlers combine multiple CSS files and assets referenced using directives like url, @import, @font-face, into a single CSS file, you can send to browsers, avoiding a waterfall of network requests.

Conclusion

I have just listed what I liked, More features are included in Bun 1.2 and 1.2.1 read more here. thank you for reading

Related Articles

More insights from our engineering team

Say Hello to Vite+: The One Tool That Just Makes Sense
Web Development
May 9, 2026

Say Hello to Vite+: The One Tool That Just Makes Sense

If you’ve been building web apps for a while, you know the struggle. You start a project with Vite because it’s blazing fast… then suddenly you’re wiring up Vitest for tests, ESLint for linting, Prettier for formatting, and a bunch of other tools just to keep things running smoothly.

How Kali Linux Helps Protect Your Web Applications, eCommerce Stores, and API
Cybersecurity
May 7, 2026

How Kali Linux Helps Protect Your Web Applications, eCommerce Stores, and API

Running a website, online store, or API is exciting, but it also comes with security risks. Hackers are always looking for weak points to steal data, damage websites, or interrupt services. This is why businesses need strong security tools to stay protected.

Why We Don’t Use WordPress for Our Clients
Business
May 3, 2026

Why We Don’t Use WordPress for Our Clients

At Finepher, one of the most common questions we get is: “Why don’t you just build our website on WordPress?”