mirror of
https://github.com/oven-sh/bun
synced 2026-03-02 05:21:05 +01:00
## Summary - Fix incorrect description of bcrypt cost parameter in hashing docs: `log10` → `log2` - The bcrypt cost factor is a power-of-2 exponent (cost=10 means 2^10 = 1,024 rounds), confirmed by `src/bun.js/api/crypto/PasswordObject.zig` which uses the value as `rounds_log` with valid range 4–31 ## Test plan - Documentation-only change, no code behavior affected Fixes #27474 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Bot <claude-bot@bun.sh> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Bun Documentation
Official documentation for Bun: the fast, all-in-one JavaScript runtime.
Development
Install the Mintlify CLI to preview the documentation locally:
bun install -g mint
Run the development server:
mint dev
The site will be available at http://localhost:3000.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.