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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@yoyoboot/web-lint-config

v10.6.0

Published

共享 Web 语义检查预设与渐进质量门禁

Readme

@yoyoboot/web-lint-config

YoyoBoot 的公共 Web 语义检查预设,提供 ESLint flat config、Stylelint 17 config 与只减不增的历史债务门禁。Prettier 仍由消费者拥有格式偏好,项目架构规则留在项目本地配置。

使用

// eslint.config.mjs
import { webLintConfig } from '@yoyoboot/web-lint-config/eslint'
export default webLintConfig({ environment: 'browser' })
// stylelint.config.mjs
import { styleLintConfig } from '@yoyoboot/web-lint-config/stylelint'
export default styleLintConfig({ tailwind: true })

Stylelint 预设使用字符串形式的 postcss-html / postcss-less custom syntax,兼容声明的 Stylelint 17 peer 范围;Vue SFC 为兼容 <style lang="less"> 不把 Less function 与 // comment 当作 CSS 语义错误,其它样式 correctness 规则仍保持启用。

消费者通过 quality.config.mjs 显式声明 eslint/style/format glob,并使用 web-quality ci 执行渐进门禁。首次基线只能在仓库历史中不存在该文件时用 web-quality init 建立;后续只能运行 web-quality prune 删除已消失条目,禁止手工扩容、总数额度或通配符忽略。

源 manifest 始终保持 private: true 与 0.0.0-private。产品版本由 Unified Release Train staging 注入;本地 tarball 或 prepare-only 结果不代表 registry 已发布。

开发使用 Node 26.13.0、pnpm 12.16.1;消费者最低版本以 manifest 的 engines/peers 为准。语义工具使用 TypeScript 6 API:typescript 安装为 npm:@typescript/[email protected],不能指向只提供原生编译器的 TypeScript 7。独立 tarball 检查覆盖 ESLint 10.0 / Stylelint 17.0 / TS 5.9.3,以及当前稳定工具与 TS 6 API,合法 JS/TS/Vue/CSS/Less 通过,未定义标识符、未使用变量和无效样式失败。