MyGit

bun-v0.0.81

oven-sh/bun

版本发布时间: 2022-05-12 06:11:35

oven-sh/bun最新发布版本:bun-v1.1.20(2024-07-13 14:04:45)

To upgrade:

bun upgrade

Bun.js gets Node-API support

Node-API is 1.75x - 3x faster in Bun compared to Node.js 18 (in call overhead)

Getters & setters: image

Simple function calls: image

Just like in Node.js, to load a Node-API module, use require('my-npm-package') or use process.dlopen.

90% of the API is implemented, though it is certainly buggy right now.

Polyfills & new APIs in Bun.js v0.0.81

The following functions have been added:

Additionally:

Several packages using Node-API also use detect-libc. Bun polyfills detect-libc because bun doesn't support child_process yet and this improves performance a little.

Bug fixes

相关地址:原始地址 下载(tar) 下载(zip)

1、 bun-darwin-aarch64.dSYM.tar.gz 15.23MB

2、 bun-darwin-aarch64.zip 11.69MB

3、 bun-darwin-x64.dSYM.tar.gz 16.57MB

4、 bun-darwin-x64.zip 13.93MB

5、 bun-linux-x64.zip 27.13MB

查看:2022-05-12发行的版本