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

@danieldesira/daniels-connect4-common

v0.2.2

Published

NPM package with common Daniel's Connect4 functionality.

Downloads

38

Readme

Daniel's Connect4 Common

NPM package with common Daniel's Connect4 functionality.

Changelog

0.2.2 (Beta - 02/12/2023 10PM Malta time)

  • Introduced playerPic and opponentPic in InitialMessage model

0.2.1 (Beta - 24/11/2023 6:45PM Malta time)

  • Introduced Themes enum

0.2 (Beta - 08/10/2023 11AM Malta time)

  • Updated isInitialMessage to also test for dimensions
  • Change models to interfaces
  • Delete SkipTurnMessage
  • Add more colors to Coin enum

0.1.32 (Beta - 30/09/2023 8:30PM Malta time)

  • Added dimensions property to InitialMessage model

0.1.31 (Beta - 11/09/2023 7:00PM Malta time)

  • Added PlayerSettings model

0.1.30 (Beta - 10/09/2023 6:15PM Malta time)

  • Added dimensions getter in default class: getDimensions()

0.1.29 (Beta - 27/08/2023 11:59PM Malta time)

  • Removed isTokenValid property to PlayerInfo model

0.1.28 (Beta - 22/08/2023 0:25AM Malta time)

  • Added isTokenValid property to PlayerInfo model

0.1.27 (Beta - 12/08/2023 1:25AM Malta time)

  • Added dimensions property to PlayerInfo model

0.1.26 (Beta - 08/08/2023 11:50PM Malta time)

  • Changed BoardLogic constructor to accept just one dimension type parameter

0.1.25 (Beta - 08/08/2023 0:15AM Malta time)

  • Add BoardDimensions enum

0.1.24 (Beta - 07/08/2023 2:45PM Malta time)

  • Add board setters

0.1.23 (Beta - 07/08/2023 1:50AM Malta time)

  • Provide public resetBoard method in BoardLogic class

0.1.22 (Beta - 07/08/2023 1:45AM Malta time)

  • Dropped board parameter for pending methods in BoardLogic class

0.1.21 (Beta - 07/08/2023 1:30AM Malta time)

  • Added dimensions constant
  • Modified BoardLogic class to allow multiple board dimensions

0.1.20 (Beta - 04/08/2023)

  • Included PlayerStats and PlayerInfo models

0.1.19 (Beta - 30/07/2023)

  • Included docs which can be retrieved using local server
  • Removed PlayerNameMessage model
  • Included playerName in InitialMessage model

0.1.18 (Beta - 12/07/2023)

  • Reorganised exports to be imported in a single line
  • Introduced skipTurnMaxWait constant

0.1.17 (Beta - 02/07/2023)

  • Added color check for isActionMessage() method
  • Introduced ErrorMessage model

0.1.16 (Beta - 02/07/2023)

  • Added color property to ActionMessage model

0.1.15 (Beta - 02/07/2023)

  • Removed inactivity model
  • Introduced switchTurn() function

0.1.14 (Beta - 14/06/2023)

  • Introduced DisconnectMessage model

0.1.13 (Beta - 14/06/2023)

  • Added GameMessage.isCurrentTurnMessage() method

0.1.12 (Beta - 14/06/2023)

  • Fixed export for CurrentTurnMessage model

0.1.11 (Beta - 14/06/2023)

  • Added CurrentTurnMessage model

0.1.10 (Beta - 01/06/2023)

  • Renamed instances of Dot to Coin

0.1.9 (Beta - 31/05/2023)

  • Set default exports

0.1.8 (Beta - 23/05/2023)

  • Introduced randomiseColor() function

0.1.7 (Beta - 07/05/2023)

  • Dot enum reverted to numerical values abstracting away from front-end

0.1.6 (Beta - 19/04/2023)

  • Sort issue with build by prebuilding and republishing

0.1.5 (Beta - 19/04/2023)

  • Include PlayerNameMessage model

0.1.4 (Beta - 16/04/2023)

  • Include network data models

0.1.3 (Beta - 16/04/2023)

  • Sort issue with build by prebuilding and republishing

0.1.2 (Beta - 16/04/2023)

  • Included putDot() method

0.1.1 (Beta - 15/04/2023)

  • Attempt to fix library entry

0.1.0 (Beta - 15/04/2023)

  • Basic functionality ported to package