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

dojo-escape-game

v1.0.0

Published

Le dojo escape game de Theodo

Readme

Dojo Escape Game

  • Installation de Node (JeremieC)

  • Boilerplate avec hot reload (JeremieC)

  • Doc sur mettre sa page sur github pages (JeremieC)

  • Classe Monde qui gere les salles et la position du joueur

  • Classe Salle abstraite

Criteres qu'on veut voir:

  • Avoir une carte qui montre les possibilités de deplacement (carte en canvas)
  • Inventaire perso
  • Objets dans la salle
  • Mouvements validés par des conditions
  • Le joueur doit avoir un nom
  • Feedback sur les actions
  • Jeu est gagné si le joueur sort et a un feedback sur le fait de gagner

Criteres techniques:

Des choses qu'on aimerait voir:

  • A vous de voir ...

Prérequis

Tu as besoin de nodejs et npm :

node --version
# v10+
npm --version
# 6+

Si tu ne connais pas ces outils, tu peux suivre cette documentation NPM pour les installer

Installation

Creation du repo

Pour pouvoir publier ton projet sur github pages:

  • Tu dois simplement créer un repo git.
  • N'initialise pas ton repo, récupère juste l'origine git.
  • Utilise ce boilerplate: npx degit theodo/dojo-escape-game <nom-de-ton-repo> et rends toi dans le dossier cd <nom-de-ton-repo>.
  • Initialise ton repo git:
git init
# Identifie toi à git si nécessaire https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup
git remote add origin https://github.com/<user>/<nom-de-ton-repo>.git # ou en ssh : git remote add origin [email protected]:<user>/<nom-de-ton-repo>.git
git add .
git commit -m "initial commit"
git push

Publier sur Github pages

Pour finir, il faut configurer githubpages pour utiliser le dossier dist/ du repo git, que l'on commitera lorsque l'on veut faire une version de la page web.

On va utiliser une branche spécifique gh-pages, utilise npm run deploy pour synchroniser le dossier dist sur la branche gh-pages.

Le boilerplate devrait être disponible sur https://<user>.github.io/<nom-de-ton-repo> d'ici maximum 10min pour le premier déploiement.

Développer

Pour développer sur le projet, il reste à installer les outils qui vont transpiler les sources placées dans [src][./src] en un site web dans dist que github servira comme site web.

pour installer les outils nodejs, il suffit de faire:

npm install

Une fois les dépendances installées, pour servir le site web localement sur http://localhost:1234, il suffit alors de lancer:

npm start

Publier une version

Une fois qu'une version locale est satisfaisante, il suffit de lancer :

npm run build

Le site va alors être généré et il suffit alors de commit les changements (en incluant dist) et de les pousser sur github pour mettre à jour le site en ligne 🎉 :

git add dist && git commit && npm run deploy

Ainsi la branche gh-pages est reconnu automatiquement par github et servira de source pour servir le site.