npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@biomejs/biome

v1.7.2

Published

Biome is a toolchain for the web: formatter, linter and more

Downloads

1,162,081

Readme

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 --apply ./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 许可,并在 贡献者公约行为准则 下进行管理。

赞助商

金牌赞助商

铜牌赞助商