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

@slashinfty/grand-prix

v0.1.0

Published

Tournament manager in the command line

Downloads

1

Readme

Grand Prix v0.1.0

Run tournaments from the command line!

Note: this is an alpha version! Please report any issues you encounter.

Features

  • Run single and double elimination tournaments
  • Run round-robin tournaments
  • Run tournaments with Swiss pairings
  • Run a two-stage tournament with elimination playoffs

Installation

npm i -g @slashinfty/grand-prix

Launch it with grand-prix in the command line.

Commands

Commands for Tournaments

tn

  • Create a new tournament

tl (file name)

  • Load an existing tournament
  • Must be located in the save directory

ts

  • Start a tournament

tx

  • Start the next round of a tournament

t?

  • Get the current settings of the tournament

Commands for Players

pn (name) [value]

  • Add a new player to the tournament
  • Value is optional and only necessary if players are sorted

pr (id)

  • Remove a player from the tournament
  • ID can be player ID or player name

pl [active]

  • Get a list of players in a table
  • Use pl active to get only active players

ps [active]

  • Get the standings in a table
  • Use ps active to get only active players

p? (id)

  • Get the current details of a player
  • ID can be player ID or player name

Commands for Matches

m (r#m# || #) (p1-p2[-d] || clear)

  • Report the result of a match
  • To identify the match, use r#m# with round and match number, or just the match number for the current round
  • To enter the result, use p1-p2 for number of wins for each player, and add draws if necessary
  • Passing clear as the result will clear results

ml [round] [active]

  • Get a list of matches in a table
  • Round number can be included to see a specific round instead of the current round
  • Passing active will get only active matches in the round

m? (r#m#)

  • Get the current details of a match

Other Commands

s

  • Save the current tournament

sb [identifier]

  • Backup the current tournament
  • File is saved in the save directory with the identifier specified appended to the file name
  • If no identifier is supplied, the date and time is appended to the file name

sa

  • Change whether or not the tournament is automatically saved after each action

sl (directory)

  • Change the directory where tournaments are saved to and loaded from

q

  • Quit the application