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

eslint9_update

v1.0.2

Published

Node.js project automation tool - Generate project templates via npx

Readme

Node.js 项目自动化生成工具(npx 版)

本工具可通过 npx 一键快速生成 Node.js 项目模板。执行命令后,会在当前目录下自动生成一个 eslint.config.js 模板文件,并预留接口以便后续集成 npm 包自动安装功能。

功能说明

  • ✅ 通过 npx 自动创建 eslint.config.js 模板文件
  • ✅ 预留扩展点,可集成自动安装依赖包(如 npm install)
  • ✅ 支持自定义配置和扩展
  • ✅ 完整的错误处理和用户友好提示

使用方法

1. 通过 npx 使用(推荐)

直接在命令行中运行(无需全局安装):

```bash npx eslint9_update ```

2. 全局安装后使用

```bash npm install -g eslint9_update eslint9_update ```

3. 编程式调用

```javascript const { generateTemplate } = require('eslint9_update');

async function createProject() { const result = await generateTemplate({ targetDir: './my-project', silent: false });

console.log(result.message); }

createProject(); ```

生成的文件

运行工具后,会在当前目录生成以下文件:

  • eslint.config.js - ESLint 配置文件(ES Module 格式)
  • .template-config.json - 扩展配置文件(预留功能接口)

扩展功能(开发中)

工具预留了以下扩展点,后续版本将支持:

自动安装依赖包

```json { "extensions": { "autoInstall": { "enabled": true, "packages": [ "express", "lodash", "axios" ] } } } ```

自定义模板

```json { "extensions": { "customTemplates": { "enabled": true, "templates": [ "express-api", "react-app" ] } } } ```

开发和贡献

本地开发

```bash

克隆项目

git clone cd eslint9_update

安装依赖

npm install

本地测试

npm link eslint9_update

或直接运行

node bin/cli.js ```

发布到 npm

```bash

登录 npm

npm login

发布

npm publish ```

系统要求

  • Node.js >= 14.0.0
  • npm >= 6.0.0

许可证

MIT License

更新日志

v1.0.0

  • ✅ 基础 ESLint 配置生成
  • ✅ 扩展点预留
  • ✅ npx 支持
  • ✅ 错误处理和用户提示