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

microfox

v1.2.0

Published

Universal CLI tool for creating modern TypeScript packages with npm availability checking

Downloads

158

Readme

@microfox/cli

Universal CLI tool for creating modern TypeScript packages with comprehensive SDK templates, npm availability checking, and professional tooling setup.

Installation

Via npx (Recommended)

npx @microfox/cli kickstart

Global Installation

npm install -g @microfox/cli
microfox kickstart

Usage

Kickstart a New Package

npx @microfox/cli kickstart

This command will:

  • Ask for a package name interactively
  • Check npm availability for the package name
  • Prompt for a new name if the package already exists
  • Create a complete package directory structure
  • Set up modern TypeScript configuration
  • Generate minimal code templates with examples
  • Create a basic test suite with Vitest
  • Set up ESLint and Prettier for code quality
  • Configure modern build system with tsup

Package Name Format

The CLI accepts any valid npm package name:

  • Simple names: my-awesome-package
  • Scoped packages: @myorg/my-awesome-package

Features

Interactive Package Creation - Asks for package name during setup
NPM Availability Checking - Automatically checks if your package name is available
Interactive Name Selection - Prompts for alternatives if name is taken
Modern TypeScript Setup - Full TypeScript configuration with strict mode
Minimal Code Templates - Simple SDK structure with commented examples
Basic Test Suite - Vitest configuration with example tests
Code Quality Tools - ESLint and Prettier pre-configured
Professional Structure - Based on popular open-source packages
Simple Documentation - Auto-generated README with minimal examples
Modern Build System - tsup for fast, modern bundling
Git Ready - Includes .gitignore and proper file structure

Commands

  • kickstart - Kickstart a new TypeScript SDK package with modern tooling

What Gets Created

When you run the CLI, it creates a complete package with:

my-package/
├── src/
│   ├── index.ts              # Main exports
│   ├── myPackageSdk.ts       # Main SDK class
│   ├── types/
│   │   └── index.ts          # TypeScript interfaces
│   ├── schemas/
│   │   └── index.ts          # Zod validation schemas
│   └── __tests__/
│       └── myPackage.test.ts # Comprehensive tests
├── docs/                     # Documentation directory
├── package.json              # Modern package configuration
├── package-info.json         # Package metadata
├── tsconfig.json             # TypeScript configuration
├── tsup.config.ts            # Build configuration
├── vitest.config.ts          # Test configuration
├── .eslintrc.js              # Linting rules
├── .prettierrc               # Code formatting
├── .gitignore                # Git ignore rules
├── README.md                 # Comprehensive documentation
└── CHANGELOG.md              # Version history

Example Usage

After creating a package:

import { MyPackageSdk } from 'my-package';

const sdk = new MyPackageSdk({
  apiKey: 'your-api-key',
  baseUrl: 'https://api.example.com',
});

// Example hello method (replace with your own methods)
const result = await sdk.hello('World');
console.log(result.data); // "Hello, World! Welcome to my-package SDK."

// TODO: Add your own SDK methods
// const data = await sdk.getData('123');
// const created = await sdk.createItem({ name: 'Example' });

License

MIT