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

@solumon/linter

v2.0.0

Published

一个基于 ESLint 9 的通用 JS/TS/Vue 配置(含 Prettier 兼容)

Readme

@solumon/linter

一个基于 ESLint 9 的通用 JS/TS/Vue 配置(含 Prettier 兼容)

特性

  • ✅ 基于 ESLint 9 扁平化配置
  • ✅ 支持 JavaScript、TypeScript
  • ✅ 支持 Vue 2 和 Vue 3
  • ✅ 集成 Prettier 格式化
  • ✅ 自动检测项目技术栈并应用相应配置

安装

npm install --save-dev @solumon/linter eslint prettier
# 如果使用 TypeScript
npm install --save-dev typescript

使用方法

作为 ESLint 配置使用

在你的项目根目录创建 eslint.config.js

import linter from '@solumon/linter';

export default linter;

命令行工具

安装后可以使用 up366-lint 命令:

npx up366-lint

支持的配置

  • 纯 JavaScript: 自动使用基础配置
  • TypeScript: 自动检测并使用 TypeScript 配置
  • Vue 2: 自动检测 Vue 2 版本并应用相应配置
  • Vue 3: 自动检测 Vue 3 版本并应用相应配置
  • Vue + TypeScript: 自动组合 Vue 和 TypeScript 配置

导出

  • @solumon/linter@solumon/linter/lint-js - ESLint 配置
  • @solumon/linter/lint-css - CSS 相关配置

要求

  • Node.js >= 18.0.0 或 >= 22.12.0
  • ESLint >= 9.39.1
  • Prettier >= 3.5.3
  • TypeScript >= 5.9.3 (可选,仅在使用 TypeScript 时需要)

License

ISC