Biome is a toolchain for web projects, it aims to provide developer tools to maintain the health of said projects.
npm install --save-dev --save-exact @biomejs/biome
# format files
npx @biomejs/biome format --write ./src
# lint files
npx @biomejs/biome lint ./src
# run format, lint, etc. and apply the safe suggestions
npx @biomejs/biome check --apply ./src
# check all files against format, lint, etc. in CI environments
npx @biomejs/biome ci ./src
If you want to give Biome a run without installing it, use the online playground, compiled to WebAssembly.
Check out our homepage to learn more about Biome, or directly head to the Getting Started guide to start using Biome.
Biome formats and lints your code in a fraction of a second.
Biome doesn't require Node.js to function.
Biome has first-class LSP support, with a sophisticated parser that represents the source text in full fidelity and top-notch error recovery.
Biome supports JavaScript, TypeScript, JSON, and more. It aims to support all main languages of modern web development.
Biome has sane defaults and it doesn't require configuration.
Biome helps you as much as possible by displaying detailed and contextualized diagnostics. Read more about our project philosophy.
Biome unifies functionality that has previously been separate tools. Building upon a shared base allows us to provide a cohesive experience for processing code, displaying errors, parallelize work, caching, and configuration.
Biome is MIT licensed or Apache 2.0 licensed and moderated under the Contributor Covenant Code of Conduct.