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

@sparrowengg/nexgate

v0.0.1-beta.9

Published

Nexus cli

Readme

@sparrowengg/nexgate

Official CLI tool for initializing Nexgate projects

npm version Node.js version

Features

  • 🚀 Quick Project Setup - Initialize new Nexgate projects with a single command
  • 📦 Template-Based - Uses the official Nexgate template repository
  • 🎯 Interactive Prompts - User-friendly prompts for project configuration
  • Zero Configuration - Works out of the box with sensible defaults

Prerequisites

  • Node.js >= 18.0.0
  • npm or yarn package manager
  • Access to the Nexgate template repository (https://bitbucket.org/surveysparrow/nexgate-template)

Installation

Global Installation (Recommended)

Install the CLI globally to use it from anywhere:

npm install -g @sparrowengg/nexgate

After installation, verify it's working:

nexgate --version

Note: If you get command not found: nexgate after global installation, ensure your npm global bin directory is in your PATH. You can check with npm bin -g and add it to your shell configuration if needed.

Local Installation

If you prefer to install it locally in your project:

npm install --save-dev @sparrowengg/nexgate

When installed locally, you need to use npx to run the command:

npx nexgate init

Usage

Initialize a New Project

The primary command is init, which creates a new Nexgate project:

nexgate init

This will prompt you for:

  • Project name: The display name for your project (default: "My Project")
  • Directory name: The folder name where the project will be created (auto-generated from project name if not provided)

Example

$ nexgate init
? Project name: My Awesome App
? Directory name: my-awesome-app
Cloning template from https://bitbucket.org/surveysparrow/nexgate-template.git to /path/to/my-awesome-app...
Template cloned successfully.

With Project Name Argument

You can also provide the project name directly:

nexgate init my-project-name

This will skip the project name prompt and use "my-project-name" as the default directory name.

Using npx (No Installation Required)

You can also use the CLI without installing it:

npx @sparrowengg/nexgate init

How It Works

  1. The CLI prompts for project name and directory name
  2. Automatically converts project names to valid package names (lowercase, kebab-case)
  3. Clones the official Nexgate template from Bitbucket
  4. Updates the project's package.json with your project name
  5. Your new project is ready to use in the specified directory

Starter Commands

After initializing your project:

cd my-project-name
yarn install
yarn dev

Troubleshooting

Command Not Found

If nexgate command is not found after global installation:

  1. Check if it's installed: npm list -g @sparrowengg/nexgate
  2. Verify your PATH includes npm's global bin directory: npm bin -g
  3. Add to PATH if needed (macOS/Linux):
    echo 'export PATH="$(npm bin -g):$PATH"' >> ~/.zshrc
    source ~/.zshrc

Template Clone Fails

  • Ensure you have internet access
  • Verify you have access to the private Bitbucket repository
  • Check that Git is installed and configured

License

MIT