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

srcnexus

v0.1.4

Published

SrcNexus CLI — deploy projects and extensions

Downloads

622

Readme

SrcNexus CLI

Deploy projects and extensions to SrcNexus from the command line.

Install

npm install -g srcnexus

Requires Node.js 18 or later.

Quick Start

# Log in to your SrcNexus account
srcnexus login

# Deploy a project
cd my-project
srcnexus deploy

# Deploy an extension
srcnexus deploy --extension

Commands

login

Authenticate with your SrcNexus account.

srcnexus login

Interactive prompts will ask for your email/username and password. For CI environments, pass credentials directly:

srcnexus login --identifier [email protected] --password mypassword

| Option | Description | |---|---| | --identifier | Email or username | | --password | Account password | | --api-url | Custom API endpoint |

logout

Clear the local session.

srcnexus logout

whoami

Show the currently logged-in user.

srcnexus whoami

deploy

Deploy a project or extension from the current directory.

# Deploy as a project
srcnexus deploy

# Deploy as an extension
srcnexus deploy -e

# Deploy from a specific directory
srcnexus deploy --cwd /path/to/project

# Skip confirmation prompt
srcnexus deploy -y

| Option | Description | |---|---| | -e, --extension | Deploy as an extension | | --cwd <path> | Working directory (default: .) | | --name <name> | Project name (skips prompt) | | -y, --yes | Skip confirmation |

Your project is available at https://{username}.srcnexus.app/{project-name} after deployment.

ls

List your projects and extensions.

srcnexus ls              # List all
srcnexus ls --projects   # Projects only
srcnexus ls --ext        # Extensions only

rm <nameOrId>

Delete a project.

srcnexus rm my-project
srcnexus rm my-project -y   # Skip confirmation

download <nameOrId>

Download a project's files to your local machine.

srcnexus download my-project
srcnexus download my-project --cwd ./output

extension zip

Bundle an extension into a ZIP archive locally (without deploying).

srcnexus extension zip
srcnexus extension zip --cwd /path/to/extension -o bundle.zip
srcnexus extension zip -w   # Watch mode — rebuild on changes

| Option | Description | |---|---| | --cwd <path> | Extension directory (default: .) | | -o, --output <file> | Output ZIP filename | | -w, --watch | Watch for changes and rebuild |

Configuration

Credentials are stored in ~/.srcnexus/config.json. Tokens refresh automatically when expired.

Override the API endpoint with the SRCNEXUS_API_URL environment variable or a .env file in your project root.

File Handling

The CLI respects .gitignore rules and automatically excludes common directories like node_modules, .git, build, .dart_tool, and others. System files (.DS_Store, .env, *.log) are also ignored.

License

MIT