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 🙏

© 2024 – Pkg Stats / Ryan Hefner

grouparoo

v0.9.0

Published

The Grouparoo CLI and Project Generator

Downloads

165

Readme

Grouparoo CLI

The Grouparoo Command Line Interface

This package is released as grouparoo on NPM. It is used to initiate and update Grouparoo projects.

Installation

This package does not need to be installed, and can be run ad-hoc with the npx command, i.e.: npx grouparoo init. That said you could also install and run this package either globally or locally:

  • Global - npm install -g grouparoo && grouparoo
  • Local - npm install grouparoo && ./node_modules/.bin/grouparoo

Usage

From npx grouparoo --help

Usage: grouparoo [options] [command]

Options:
  -V, --version    output the version number
  -h, --help       display help for command

Commands:
  init [options] <path>            Initialize a new Grouparoo project.  Use "." for this directory.
  update                           Upgrade the NPM packages in this Grouparoo project
  install [package]                Install a grouparoo plugin (via npm install) and enable it.  Use package@version for a specific version or tag
  uninstall <package>              Uninstall a grouparoo plugin (via npm uninstall) and disable it.
  help [command]                   display help for command

Commands

In addition to the commands included with this package, the grouparoo command line interface will load commands from @grouparoo/core and any plugins you have installed. The list of available commands will vary based on your plugins and Grouparoo version.

Init

Example: npx grouparoo init

  • To initiate a grouparoo project in the current directory (process.cwd()): npx grouparoo init .
  • To initiate a grouparoo project in another directory: npx grouparoo init /path/to/project

Notes

  • We assume node and npm are installed and available within your $PATH
  • We will not override an existing package.json or .env file if they already exist in the directory (except in the upgrade case)
  • We will attempt to run npm install in the new directory

Upgrade

Example: npx grouparoo upgrade

  • npx grouparoo upgrade assumes you are tracking the latest version of all the Grouparoo dependencies, and will update your package.json to use the latest versions of your packages and then run npm install again to install new dependencies and build the project. This uses the npm-check-updates package under the hood.

Install

Example: npx grouparoo install @grouparoo/postgres

  • npx grouparoo [package] installs a Grouparoo package into your project using npm. These can also be installed using the Config UI by running npx grouparoo config.

Uninstall

Example: npx grouparoo uninstall @grouparoo/postgres

  • Uninstall a Grouparoo package from your project using npm.

Version

Example: npx grouparoo --version

Get the version of this package.


Development

You can run the commands in this project without compiling via ts-node, ie: ./node_modules/.bin/ts-node src/grouparoo.ts help