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

lflint

v1.0.12

Published

This is a cli for eslint & stylelint & commitlint; User can install the personal lint by the cli automatically with less code; Any problem can be discussed on my GitHub;

Downloads

18

Readme

lint-lf

This is a cli for eslint & stylelint & commitlint; User can install the personal lint by the cli automatically with less code;
Any problem can be discussed on my GitHub;

Waring:
Some of the lint files that your project already has will be overwritten by the cli right now. The next version will handle this problem;

steps:

  1. npm install
  2. lint config for start
    after input or select the config and then the cli will create some lint rules automatically;
    let's enjoy 'less code' !

if your npm version > v5.2, you can use this cli without install by npx;

  npx lint config

todo

  1. ~~逻辑分离~~
  2. js --> ts
  3. 完善 ignore 文件列表 完善基础配置文件 完善 eslintrc 规则
  4. ~~分离 all 依赖 使 eslint stylelint commitlint 可通过交互结果进行配置;~~
  5. 抽离依赖包 额外发布 npm 包 ?
  6. npm --> pnpm ?
  7. 支持 js/ts vue/react 的选择切换;
  8. 支持 config 文件进行合并而不是暴力覆盖;
  9. 增加 package json 中的脚本入口
  10. ~~增加 npm 自动发布脚本~~

comments

| Rules Name | Value | comments | | -------------------- | ------------ | ------------------------------------------------------------------------- | | "trailingComma" | "all" | 在任何可能的多行中输入尾逗号 | | "tabWidth" | 2 | 设置工具每一个水平缩进的空格数 | | "semi" | true | 在语句末尾添加分号 | | "singleQuote" | true | 使用单引号而非双引号 | | "jsxSingleQuote" | true, | JSX 中使用单引号 | | "endOfLine" | "lf", | 行尾序列使用 LF | | "printWidth" | 120 | 设置 prettier 单行输出(不折行)的(最大)长度 | | "bracketSpacing" | true | 在对象字面量声明所使用的的花括号后({)和前(})输出空格 | | "arrowParens" | "always" | 为单行箭头函数的参数添加圆括号,参数个数为 1 时可以省略圆括号 | | "quoteProps" | "as-needed", | object 中 key 尽量不使用引号 | | "useTabs" | false | 使用 tab(制表位)缩进而非空格 | | "parser" | "babylon" | 指定使用哪一种解析器, 默认会自动选择 | | "jsxBracketSameLine" | true | 在多行 JSX 元素最后一行的末尾添加 > 而使 > 单独一行(不适用于自闭和元素) | | "rangeStart" | 0 | 只格式化某个文件的一部分 | | "rangeEnd" | Infinity | 只格式化某个文件的一部分 | | "filepath" | "none" | 指定文件的输入路径,这将被用于解析器参照 |