yzbtdiy

yzbtdiy

github
bilibili

Bun uses domestic npm mirror

Bun has redefined the JavaScript/TypeScript toolchain, integrating development, testing, runtime, package management, and bundling into one, developed using Zig, with performance significantly higher than Node.js.

The domestic network environment causes Bun to download packages slowly. Currently, there is no configuration found for Bun to use a proxy for downloading packages. You can configure Bun to download from the domestic npm registry mirror to speed up the download process and improve the development experience.

Create a .bunfig.toml file in the user home directory and add the following content; https://registry.npmmirror.com is Alibaba's mirror site.

[install]
registry = "https://registry.npmmirror.com"
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.