@biomejs/biome
Biome is a toolchain for the web: formatter, linter and more
Last updated 4 months ago by dominionl .
MIT OR Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @biomejs/biome 
SYNC missed versions from official npm registry.

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-dark-transparent.svg"> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/biomejs/resources/main/svg/slogan-light-transparent.svg"> Biome - Toolchain of the web </picture>

Discord chat CI on main npm version VSCode version Open VSX version

हिन्दी | English | 简体中文 | 日本語 | Português do Brasil | 한글

Biome 是一个用于 Web 项目的高性能工具链,旨在为开发者提供维护项目的工具。

Biome 是一个快速的格式化工具,适用于 JavaScriptTypeScriptJSXJSON 等,与 Prettier 的兼容性达到了 97%

Biome 是一个高性能的 Linter,适用于 JavaScriptTypeScriptJSX 等,包含了来自 ESLint、typescript-eslint 和其他来源190 余项规则。它输出详细且有上下文诊断信息,能帮助你优化代码,成为一名更好的程序员!

Biome 从一开始就设计为在编辑器中交互式使用。它可以在你编写代码时格式化并检查出不规范的代码。

安装

npm install --save-dev --save-exact @biomejs/biome

使用

# 格式化文件
npx @biomejs/biome format --write ./src

# Lint 文件
npx @biomejs/biome lint ./src

# 运行格式化,Lint 等,并应用安全的建议
npx @biomejs/biome check --write ./src

# 在 CI 环境中检查所有文件是否符合格式,Lint 等
npx @biomejs/biome ci ./src

如果你想在不安装的情况下试用 Biome,可以使用在线 playground,它被编译为 WebAssembly。

文档

查看我们的主页以了解更多关于 Biome 的信息,或者直接前往入门指南开始使用 Biome。

更多信息

Biome 有合理的默认设置,不需要配置。

Biome 旨在支持所有主要的现代网络开发语言

Biome 不需要 Node.js 就可以运行。

Biome 有一流的 LSP 支持,具有精密的解析器,可以完全保真地表示源文本,并具有顶级的错误恢复能力。

Biome 统一了以前分散的功能。基于共享的基础,我们可以提供一个处理代码、显示错误、并行工作、缓存和配置的一致体验。

阅读更多关于我们的项目理念

Biome 采用 MIT 许可Apache 2.0 许可,并在 贡献者公约行为准则 下进行管理。

赞助商

金牌赞助商

铜牌赞助商

Current Tags

  • 1.9.1                                ...           latest (2 months ago)
  • 1.9.1-nightly.12688b6                                ...           nightly (2 months ago)

70 Versions

  • 1.9.1                                ...           2 months ago
  • 1.9.1-nightly.12688b6                                ...           2 months ago
  • 1.9.0                                ...           2 months ago
  • 1.8.4-nightly.7aaf0ce                                ...           2 months ago
  • 1.8.4-nightly.d079e53                                ...           3 months ago
  • 1.8.4-nightly.bd1d0c6                                ...           3 months ago
  • 1.8.4-nightly.a579bf7                                ...           4 months ago
  • 1.8.3                                ...           5 months ago
  • 1.8.2                                ...           5 months ago
  • 1.8.1                                ...           5 months ago
  • 1.8.0                                ...           5 months ago
  • 1.7.4-nightly.125f34b                                ...           6 months ago
  • 1.7.3-nightly.af70ac2                                ...           6 months ago
  • 1.7.3-nightly.d74b584                                ...           6 months ago
  • 1.7.3                                ...           6 months ago
  • 1.7.2                                ...           7 months ago
  • 1.7.1                                ...           7 months ago
  • 1.7.0                                ...           7 months ago
  • 1.6.4-nightly.abab451                                ...           7 months ago
  • 1.6.4-nightly.a995ada                                ...           7 months ago
  • 1.6.4                                ...           7 months ago
  • 1.6.3                                ...           8 months ago
  • 1.6.2                                ...           8 months ago
  • 1.6.1                                ...           8 months ago
  • 1.6.0                                ...           8 months ago
  • 1.5.3-nightly.4fa841c                                ...           8 months ago
  • 1.5.3-nightly.69f9031                                ...           9 months ago
  • 1.5.3-nightly.dca6a7a                                ...           9 months ago
  • 1.5.3-nightly.d2858ee                                ...           9 months ago
  • 1.5.3-nightly.6cbf1c7                                ...           9 months ago
  • 1.5.3-nightly.24fcf19                                ...           10 months ago
  • 1.5.3                                ...           10 months ago
  • 1.5.2-nightly.91c7730                                ...           10 months ago
  • 1.5.2                                ...           10 months ago
  • 1.5.1                                ...           10 months ago
  • 1.5.0                                ...           10 months ago
  • 1.4.1-nightly.d869a33                                ...           10 months ago
  • 1.4.1-nightly.22dd4e1                                ...           a year ago
  • 1.4.1-nightly.efc084c                                ...           a year ago
  • 1.4.1-nightly.e087146                                ...           a year ago
  • 1.4.1-nightly.570d680                                ...           a year ago
  • 1.4.1-nightly.bc772a3                                ...           a year ago
  • 1.4.1                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.3-nightly.38797b7                                ...           a year ago
  • 1.3.3-nightly.ced82da                                ...           a year ago
  • 1.3.3-nightly.8475169                                ...           a year ago
  • 1.3.3                                ...           a year ago
  • 1.3.2                                ...           a year ago
  • 1.3.1                                ...           a year ago
  • 1.3.0                                ...           a year ago
  • 1.2.2-nightly.ee2e2ab                                ...           a year ago
  • 1.2.2-nightly.1e3fc94                                ...           a year ago
  • 1.2.2                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.2-nightly.9c28238                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.2.3                                ...           a year ago
  • 0.2.2                                ...           a year ago
  • 0.2.0-nightly.0b5a3fd                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.2-nightly.506ee2e                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.0-nightly.7b90623                                ...           a year ago
  • 0.1.0-nightly.cfef948                                ...           a year ago
  • 0.1.0-nightly.54e85a2                                ...           a year ago
Downloads
Total 4
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE