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

@guanzhu.me/arco-cli

v0.9.2

Published

Initialize a project from selectable Arco templates

Readme

@guanzhu.me/arco-cli

Initialize projects from selectable Arco templates. A maintained fork of the unmaintained arco-cli, kept compatible with current Node.js LTS.

Requirements

  • Node.js >= 22 (the currently supported LTS lines: 22 and 24)

Install

npm install -g @guanzhu.me/arco-cli

Usage

arco init my-app

Use the bundled modern starter (skips the menu):

arco init my-app --template pro-recommend          # full preset (default)
arco init my-app --template pro-recommend:simple   # simple preset

Use a specific template package:

arco init my-app --template arco-design-pro

Use a local template:

arco init my-app --template file:../my-template

Skip dependency install or git init:

arco init my-app --skip-install --skip-git

Adding a page to an existing arco-design-pro project

Run from the project root (the directory containing src/pages/):

arco add page user-list --type table
arco add page settings --type blank

This scaffolds src/pages/<name>/ with index.tsx, style/index.module.less, and locale/index.ts following arco-design-pro's conventions.

If src/routes.ts and src/locale/index.ts are present and follow arco-design-pro's shape, the CLI also runs an interactive placement picker — choose to place the new page at the menu root, under any existing top-level group, or create a new top-level menu group on the fly — and edits both files for you. If either source file is missing or has a non-standard shape, the CLI falls back to printing the exact snippets you need to paste in.

--type accepts blank (a Card with title + paragraph) or table (a Card with header, primary action, and Arco Table).

Template structure

A template is just an npm package (or a local directory) that contains either:

  • a template/ directory whose contents are copied verbatim, or
  • a .arco-cli/init.js script exporting an async function that runs custom initialization logic

Optional hook/after-init.js or .arco-cli/after-init.js is invoked after dependency installation.

Notes

This CLI ships a small child_process compatibility shim so older templates (e.g. arco-design-pro) that call spawnSync('npm.cmd', ...) directly still work on Node versions that enforce the BatBadBut (CVE-2024-27980) fix.