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

towerfall-slack

v0.4.2

Published

Post TowerFall stats and replays into Slack

Downloads

9

Readme

TowerFall Slack Integration

Easily post TowerFall session stats and replay gifs to Slack.

tf-stats-screenie

Not tested on Windows or Linux, but might work.

Requirements

  1. Familiarity with the command line
  2. Node.js installed

Installation

  1. npm install -g towerfall-slack
  2. run tf-configure and follow the prompts. Press enter to keep the default or existing value shown in parentheses.

Emojis

You will also need to add custom emojis for all the archers. Each one should follow the format :tf-color:.

tf-bluetf-cyantf-greentf-orangetf-pinktf-purpletf-redtf-whitetf-yellow

CLI commands

  1. tf-watch-stats

    Start watching for changes to your tf_saveData file. If all you want to do is post stats to Slack, you'll be fine running the script with no options. For more advanced usage, the following options are supported:

    • -f or --save-to-file - Save match data and accumulated summary data to a file. This file is the source of the stats posted to Slack.
    • -d or --save-to-db - Save match data to a database. This is optional, and not necessary for posting to Slack.
    • -a or --append - If using the -f option, append to the existing file instead of overwriting it

    If no options are provided, the script will save changes to a file, overwriting it if it already exists. If you wish to save match data to a database, you must first run tf-db-configure.

  2. tf-post-stats

    This will post all the stats you've accumulated since running tf-watch-stats. It will then delete the session stats file, making way for the next session's stats. If there has been no activity, it will not post anything.

  3. tf-watch-replays

    This will start watching the replay directory and upload any new replays that appear in it.

  4. tf-post-replays

    This will post your existing replays. It takes two optional arguments which define a range of replays to upload e.g. tf-post-replays 22 33 will upload replays 22 through 33 inclusive. Omit the second argument to keep uploading until there are no more replays. Omit both to upload everything.

  5. tf-db-configure

    Set database configuration. Only necessary if using the -d option with tf-watch-stats.

  6. tf-configure

    Set required configuration options.

Shortcomings

You may notice that the posted stats differ slightly from those that can be viewed in game. The main reason for this seems to be that the tf_saveData file counts a self kill as both a death and a kill. Although total self kills are tracked, they are not tracked per archer, so there is no way around this.