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

@edgespark/cli

v0.0.11

Published

EdgeSpark CLI - Create and manage your EdgeSpark projects

Downloads

3,616

Readme

@edgespark/cli

EdgeSpark CLI - Create and manage your EdgeSpark projects.

Installation

npm install -g @edgespark/cli

Usage

Initialize a new project

# Default (creates AGENT.md)
edgespark init my-project

# With specific AI agent
edgespark init my-project --agent claude    # Creates CLAUDE.md
edgespark init my-project -a gemini         # Creates GEMINI.md

# Via environment variable
EDGESPARK_AGENT_NAME=claude edgespark init my-project

Agent options: claude, codex, gemini, paintress

Pull schema from EdgeSpark platform

edgespark pull

Pulls the latest database and storage schema from your EdgeSpark project and generates TypeScript files in src/__generated__/.

Help

# General help
edgespark --help

# Command-specific help
edgespark init --help
edgespark pull --help

Commands

| Command | Description | |---------|-------------| | edgespark init <name> | Initialize a new EdgeSpark project | | edgespark pull | Pull schema from EdgeSpark platform |

Project Structure

After running edgespark init, your project will have:

my-project/
├── src/
│   ├── index.ts              # Your API routes (Hono)
│   ├── __generated__/        # Schema files (pulled from platform)
│   │   ├── index.ts          # Barrel exports
│   │   ├── db_schema.ts      # Database schema (Drizzle ORM)
│   │   ├── db_relations.ts   # Relation definitions (if any)
│   │   └── storage_schema.ts # Storage bucket definitions
│   └── types/
│       └── server-sdk.d.ts   # EdgeSpark SDK type definitions
├── edgespark.toml            # Project configuration
├── package.json
├── tsconfig.json
└── AGENT.md                  # AI coding agent instructions

Development

npm run build:dev   # tsc (for development/tests)
npm run dev         # tsc --watch
npm test            # run tests
npm run link        # build bundle + npm link for local testing

Publishing

prepublishOnly automatically runs esbuild + copies templates before any publish.

1. Beta release

npm version <version>-beta.0       # first beta for a new version (manual)
npm publish --tag beta             # publish to "beta" tag (latest untouched)

2. Iterate on beta

npm version prerelease             # auto-bumps beta.0 → beta.1 → beta.2
npm publish --tag beta

3. Test beta

npm install -g @edgespark/cli@beta # install globally
edgespark --version                # verify
npx @edgespark/cli@beta --version  # or test without global install

4. Graduate to release

npm version patch                  # 0.0.X-beta.N → 0.0.X (clean version)
npm publish                        # publishes to "latest" tag

Version commands cheat sheet

| Command | Example | |---------|---------| | npm version <version>-beta.0 | First beta (manual) | | npm version prerelease | beta.0beta.1 | | npm version patch | 0.0.10-beta.20.0.10 | | npm version minor | → 0.1.0 | | npm version major | → 1.0.0 |

License

MIT