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

gamelet-cli

v0.8.11

Published

Download project from code.gamelet.com, edit/test in vscode and sync back to server.

Readme

gamelet-cli

Help to download project from code.gamelet.com, edit/test in vscode and sync back to server.

Create Local Workspace of your CG Project

You can download your CG project files to local and create a nice workspace of VSCode to develop locally.

Download Project Token File

Before creating the workspace, you need to download a token file in your project page.

  1. Open your project page on code.gamelet.com
  2. Open the "Project Info" panel from the right-side toolbar.
  3. Click the "Npm" button above the project code.
  4. Toggle the "Allow local dev with npm"
  5. Click the "Download dev-token" button to download

Use the Project Token

Make sure you have the token file in a proper folder, and the apps below are installed

  1. Install gamelet-cli
npm install -g gamelet-cli
  1. Create workspace of your project

Run the command in the folder of the token file:

gamelet download

Choose a token file when the command prompts you a list of choices. The command will create the workspace in a default folder that is named by the project code.

If custom folder of workspace is desired, use the flag --dir

// assign a custom folder
gamelet download --dir=testfolder
// assign a token file and a folder
gamelet download myProject.token --dir=testfolder
  1. Install npm packages
// enter the folder that is created from the above command
cd your-project-folder-just-created
// install packages
npm install
  1. Transpile and run a local server
// one line command
npm start

The command will transpile your typescripts and re-transpile when any file is changed. It also creates a local server so you can test the project at http://localhost:3000

  1. Test and Debug

Open the "Run and Debug" on the left-side-toolbar of your vscode, find and click the "Play Game" button to run the game. Change the button to "Test Module" to run the testbed.

  1. Sync the workspace from the CG project

After the workspace is built, you can run the below command to sync resources from your CG project on code.gamelet.com

// run the commands inside the workspace folder

// sync everything and merge sources from CG
gamelet merge
// sync only sources
gamelet merge --item=source
// sync only sources without git commit
gamelet merge --item=source --force
// sync only resources
gamelet merge --item=resource
// sync items and badges
gamelet merge --item=item,badge
/**
 * available sync items are
 * - source
 * - resource
 * - item
 * - badge
 * - score
 */
  1. Upload the sources back to CG

Once you are satisfied with the codes, you can upload the source back to the CG server. Before uploading, make sure you have merge the latest sources from server by running the command "gamelet merge".

// run the commands inside the workspace folder

// merge first
gamelet merge
// upload
gamelet upload