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

create-iaso-analysis

v1.0.1

Published

iaso analysis project scaffold

Readme

create-iaso-analysis

A CLI scaffold tool for quickly creating IASO analysis projects from GitHub template repositories.

Features

  • Clone projects from GitHub template repositories
  • Offline mode with local template support
  • Interactive command-line prompts
  • File conflict detection and overwrite confirmation
  • Automatic Git repository initialization
  • Automatic dependency installation (npm, pnpm, bun)
  • Colorful terminal output

Quick Start

Online Mode (Recommended)

npx create-iaso-analysis

Specify a project directory:

npx create-iaso-analysis my-project

Clone a GitHub repo and apply template:

npx create-iaso-analysis owner/repo

Offline Mode

npx create-iaso-analysis --offline --template /path/to/local/template

CLI Options

Usage: create-iaso-analysis [options] [target]

Arguments:
  target              project directory or GitHub repo (owner/repo format)

Options:
  -V, --version       output the version number
  --offline           use local template directory instead of cloning from GitHub
  --template <path>   local template directory path (used with --offline)
  -h, --help          display help for command

Target Formats

| Input | Interpreted As | |-------|----------------| | my-project | Local path ./my-project | | . | Current directory | | ./path/to/dir | Relative local path | | /absolute/path | Absolute local path | | owner/repo | GitHub SSH: [email protected]:owner/repo.git | | [email protected]:owner/repo.git | GitHub SSH URL | | https://github.com/owner/repo | GitHub HTTPS URL |

Usage Examples

Create in current directory

mkdir my-project && cd my-project
npx create-iaso-analysis

Create in a new directory

npx create-iaso-analysis my-project
cd my-project

Create from GitHub repository

npx create-iaso-analysis IASO-AI/iaso-analysis-template

Use local template (offline mode)

npx create-iaso-analysis --offline --template ~/templates/iaso-analysis

Example Output

$ npx create-iaso-analysis <your-repo-url>

create-iaso-analysis

✔ Template repository URL: … <template-repo-url>
✔ Package manager: › bun
○ Cloning <your-repo-url>...
✓ Repository cloned.
○ Cloning template from <template-repo-url>...
✓ Template cloned.
⚠ The following files/folders already exist: .gitignore
✔ Overwrite existing files? … yes
○ Copying template files...
✓ Template files copied.
⚠ No package.json found, skipping dependency installation.

✓ Project created successfully!

  $ cd <your-project-name>
  $ bun dev

Interactive Prompts

After running the command, the CLI guides you through:

  1. Template repository URL - Enter GitHub template repo address (default: [email protected]:IASO-AI/iaso-analysis-template.git)
  2. Package manager - Choose from npm, pnpm, or bun

Workflow

┌─────────────────────────────────────────────────────────┐
│                    create-iaso-analysis                 │
├─────────────────────────────────────────────────────────┤
│  1. Parse CLI arguments                                 │
│  2. Check Git availability (online mode)                │
│  3. Interactive prompts (template repo, package manager)│
│  4. Determine target directory                          │
│  5. Clone template to temp dir / use local template     │
│  6. Detect file conflicts and prompt for overwrite      │
│  7. Copy template files to target directory             │
│  8. Initialize Git repository                           │
│  9. Install dependencies                                │
│ 10. Output success message and next steps               │
└─────────────────────────────────────────────────────────┘

Requirements

  • Node.js >= 18
  • Git (required for online mode)
  • npm / pnpm / bun (any package manager)

Global Installation

npm install -g create-iaso-analysis
create-iaso-analysis my-project

Development

Install dependencies

npm install

Run in development mode

npm run dev

Build

npm run build

Publish

npm run release

Project Structure

src/
├── index.ts           # Entry point, main workflow
├── cli.ts             # CLI argument parsing
├── prompts.ts         # Interactive prompts
├── types.ts           # TypeScript type definitions
├── actions/
│   ├── clone.ts       # Git clone operations
│   ├── copy.ts        # File copy and conflict detection
│   ├── init.ts        # Git initialization
│   └── install.ts     # Dependency installation
└── utils/
    ├── git.ts         # Git utility functions
    ├── logger.ts      # Terminal logging
    └── path.ts        # Path handling utilities

Tech Stack

| Library | Purpose | |---------|---------| | commander | CLI argument parsing | | prompts | Interactive CLI prompts | | execa | Subprocess execution | | fs-extra | Enhanced file system operations | | picocolors | Terminal color output |

License

ISC

Links