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-atxp

v1.21.2

Published

Create ATXP projects - Scaffold new ATXP applications from templates

Readme

create-atxp

Developer documentation for the create-atxp wrapper package.

Overview

The create-atxp package is a thin wrapper that enables the npm create atxp syntax by proxying calls to the main atxp package. This follows the convention used by other CLI tools like create-react-app, create-next-app, etc.

Architecture

npm create atxp my-app --framework express
        ↓
create-atxp/index.js
        ↓  
npx atxp create my-app --framework express
        ↓
packages/atxp/src/index.ts

How it works:

  1. User runs npm create atxp <args>
  2. npm automatically runs npx create-atxp <args>
  3. create-atxp/index.js transforms this into npx atxp create <args>
  4. The main atxp package handles the actual project creation

Development

Prerequisites

  • Node.js 18+
  • The main atxp package built and available

Setup

cd packages/create-atxp
npm install

Testing the Wrapper

Test Basic Functionality

# From packages/create-atxp directory
node index.js test-app

# Should be equivalent to:
# npx atxp create test-app

Test with Flags

# Test framework flag
node index.js test-app --framework express

# Test git flags  
node index.js test-app --no-git
node index.js test-app --git

# Test help
node index.js --help

Test npm create Syntax

# From repo root, test the actual npm create flow
npm create atxp test-app
npm create atxp test-app --framework express --no-git

Debugging

Enable Verbose Output

# See exactly what command is being executed
node index.js test-app --verbose

Check Dependencies

# Verify atxp package is available
npx atxp --help

# Check if create-atxp can find atxp
npm ls atxp

Common Issues

"Command not found" errors

  • Ensure atxp package is built: cd ../atxp && npm run build
  • Check that atxp is in dependencies: check package.json

Arguments not passing through

  • Verify process.argv.slice(2) is correctly capturing all arguments
  • Test with console.log(atxpArgs) in index.js

Version mismatches

  • Both packages should have the same version number
  • Check atxp dependency version in package.json

Version Management

The create-atxp package version should always match the main atxp package:

# Check current versions
cd packages/atxp && npm version
cd ../create-atxp && npm version

# Update versions (should be done together)
npm version patch  # in both packages

Testing Checklist

Before releasing, verify:

  • [ ] node index.js test-app creates project successfully
  • [ ] node index.js test-app --framework express works
  • [ ] node index.js test-app --no-git skips git initialization
  • [ ] node index.js test-app --git forces git initialization
  • [ ] node index.js --help shows help information
  • [ ] npm create atxp test-app works from repo root
  • [ ] All arguments pass through correctly
  • [ ] Error messages are clear and helpful
  • [ ] Package.json versions match between both packages

File Structure

packages/create-atxp/
├── README.md           # This developer documentation
├── package.json        # Package configuration and dependencies
├── index.js           # Main wrapper script
└── eslint.config.js   # ESLint configuration

Dependencies

  • atxp: The main CLI package (exact version match)
  • eslint, globals: Development dependencies for linting

Publishing

This package is published to npm as create-atxp and should be published alongside the main atxp package with matching versions.

# Build and test first
npm run build
npm test

# Publish (from packages/create-atxp)
npm publish

Contributing

When modifying the wrapper:

  1. Test locally with node index.js
  2. Test with npm create atxp syntax
  3. Verify all flags and arguments pass through
  4. Update tests if needed
  5. Ensure version stays in sync with main package