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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@hydra-js/cli

v1.0.0-alpha.4

Published

Hydra-JS Command-line Toolkit

Readme

@hydra-js/cli

npm version

Command-line Toolkit for Hydra.js

Getting started

Usage

Install

npm i -g @hydra-js/cli

Create a new App

Method 1

hydra create [-f|--force] <namespace>

Method 2

npx @hydra-js/cli create [-f|--force] <namespace>

Run

cd <namespace>
hydra serve

Specify npm script to run

hydra serve --script dev // hydra serve -s dev

Development Setup

Prerequisites

  • Node.js (v14 or later)
  • npm (v7 or later)

Setting up locally

git clone [email protected]:hydra-js/cli.git hydra-cli
cd hydra-cli
npm install

Running locally

To run the CLI tool locally without installing it, use:

node index.js create [-f|--force] <namespace>

Running locally with npm link

This section provides instructions on how to use npm link for local development, enabling you to test the CLI tool as if it were installed globally.

To link the CLI tool locally for development and testing, use npm link:

  1. Run npm link in the project directory. This creates a symlink globally:
npm link
  1. Now you can run the hydra command from anywhere on your system:
hydra create [-f|--force] <namespace>

This allows you to test changes to the CLI tool without needing to reinstall it each time you make modifications.

Publishing

To publish the package to npm:

  1. Ensure you are logged in to npm:
npm login
  1. Make sure the NPM_TOKEN secret is added to your GitHub repository.

  2. Create a new version tag and push it to GitHub:

git tag v1.0.0
git push origin v1.0.0

The GitHub Actions workflow will automatically publish the package to npm when a new tag is pushed.

Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.

License

This project is licensed under the MIT License.