News for hackers. Stuff that matters.

azu

Re:Bun v1.0.0 on Saturday September 09, 2023 @01:37AM (#37442578)
> technically speaking is based on Webkit, but can't really say why

Why Bun uses WebKit/JSC was described here:

> One of the reasons why Bun bet on JavaScriptCore instead of embracing the server-side V8 monoculture is because JavaScriptCore and WebKit/Safari are strongly tied together. This means that Bun can often use implementations of Web APIs from WebKit/Safari directly, without having to reimplement them. This is a great example of that.

via https://bun.sh/blog/bun-v0.7.1#messageport-messagechannel-ar...

Re:Tracking the Fake GitHub Star Black Market on Saturday March 18, 2023 @06:07AM (#35207752)
https://press.stripe.com/working-in-public

The book presents similar stories.

Show HN: tsconfig-to-dual-package – support CommonJS and ESM in one package

https://github.com/azu/tsconfig-to-dual-package

This tool helps you to create Dual CommonJS/ES module packages. (dual package is a package that can be used from CommonJS and ESM)It is hard to create dual package in only TypeScript Compiler(`tsc`) because TypeScript do not change import file path by their design goal. This tool create Dual Package by using some tricks in package.json without additional transpiling.

( Read More... | no comments | on HN )