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

game-leaderboard

v1.2.2

Published

A high-performance game leaderboard with redis + redis-server standalone + http api server used with nginx proxy + slack notifications

Downloads

12

Readme

game-leaderboard

A high-performance game leaderboard with redis + redis-server standalone + http api server used with nginx proxy + slack notifications

Installation

npm install

Before starting configure:

  • config_example.json edit and rename to config.json. It contains configurations for tcp listen ports of http server and redis server. Also contains slack notify on a sample channel and user default auth used from the game's api requests on the initial verification
  • nginx_example.conf example config for nginx for your domain/subdomain, this is used when nginx is used as a proxy on the backend
  • redis-server.conf contains redis server configuration like tcp port & redis data directory
  • http-server.js contains http listener along with tcp port
  • game-leaderboard.js contains all functions for requests to be processed at redis with some checks using async promise bluebird Note: redis is saved on the data dir automatically

Start / Stop the app server

It uses nohup and requires to be on project dir.

npm start
npm stop

This leaderboard is being used currently for the game Crazy Particles