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

governify-cli

v0.0.4

Published

Cli for governify ecosystem

Downloads

20

Readme

governify-cli

1. Install governify-cli

npm install governify-cli -g

2. Use cli

isa@host:~/lab$ gov
governify-cli$

A prompt will be displayed as "governify-cli"

2.1. Help inside from the own cli

governify-cli$ help

  Commands:

    help [command...]                                       Provides help
                                                            for a given
                                                            command.
    exit                                                    Exits
                                                            application.
    testlimittime <url> <method> <count> <duration> [body]  
    testinfinite <url> <method> <count> [body]              
    testfromfile <path>                                     
    ls [dir]                                                
    mkdir [dir]                                             
    pwd [dir]

2.2 Examples

Where are cli executing...

governify-cli$ pwd
/home/quique/lab

Doing any tests

governify-cli$ testlimittime http://www.google.es GET 3 2
{ totalRequest: 6,
  success: 6,
  error: 0,
  totalStack: 2,
  startTime: "2017-03-24T18:34:01.229Z",
  finishTime: "2017-03-24T18:34:03.477Z",
  lastedFor: "2248 ms",
  url: "http://www.google.es",
  method: 'GET' }

3. Use cli from bash shell

You can interact with the command called gov

3.1. Help from bash shell


isa@host:~/lab$ gov --help

  Usage: gov [options] [command]


  Commands:

    test [options]   read test from file
    cli              enter cli mode


  Options:

    -h, --help     output usage information
    -V, --version  output the version number

3.2. Examples

gov test --infiniteRequests -u http://google.es -c 5  -m GET
{ totalRequest: 5,
  success: 5,
  error: 0,
  startTime: '2017-03-24T18:41:05.759Z',
  finishTime: '2017-03-24T18:41:06.292Z',
  lastedFor: '533 ms' }

Latest release

The version 0.0.4 is the latest stable version of governify-cli component. see release note for details.

For running:

  • Download latest version from 0.0.4