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

skate-kbm

v0.1.9

Published

Plain Node CLI keyboard and mouse to virtual Xbox 360 controller mapper for Windows games.

Readme

This is a plain terminal CLI. It does not use a full-screen TUI or any non-Node JavaScript runtime.

Install

Install globally with npm:

npm install -g skate-kbm
skate-kbm

Install adds the skate-kbm command and the native mapper binary.

Requirements:

Windows needs a signed virtual controller driver before games can see a fake Xbox controller. If the app says it cannot connect, install the driver from the source repo with npm run driver, or install ViGEmBus manually from its release page.

Use

skate-kbm

Keep the terminal open, then launch your game. Press Ctrl+Alt+M to toggle cursor lock if the game needs it. Press Ctrl+C in the terminal or Ctrl+Alt+Backspace anywhere to stop the mapper.

The command prints normal terminal output only. It should not switch screens, clear your terminal, or close the terminal window.

To change mouse sensitivity:

skate-kbm --mouse-sensitivity 300

By default, the mapper uses Windows Raw Input for mouse movement and leaves the visible cursor alone. Cursor lock is an explicit toggle, not tied to mouse buttons.

Cursor lock modes:

skate-kbm --cursor-lock toggle
skate-kbm --cursor-lock always
skate-kbm --cursor-lock off

If raw input is unavailable, it falls back to cursor capture. To test without hiding or recentering the cursor:

skate-kbm --no-mouse-capture

To print live input diagnostics:

skate-kbm --debug

Build from source

Developers also need Rust to rebuild the native Windows mapper.

npm install
npm run build
npm run driver
npm start

npm run build compiles the Rust mapper and copies it to dist/app/mapper/skate-kbm-mapper.exe, which is the binary shipped in the npm package.

Controls

| Input | Controller output | | --- | --- | | WASD | Left stick | | Mouse | Right stick | | Shift or Space | A | | Esc | B | | E | X | | R | Y | | Q | Left bumper | | F | Right bumper | | Left click | Right trigger | | Right click | Left trigger | | Arrow keys | D-pad | | Tab | Back | | Enter | Start |

  • The npm package has no JavaScript runtime dependencies.
  • The app uses a plain Node.js CLI wrapper and a Rust Windows mapper process for keyboard, mouse, and virtual controller output.
  • The game still sees a controller, not native keyboard and mouse.
  • ViGEmBus is required because Windows needs a driver to expose the virtual Xbox controller.
  • ViGEmBus is archived, so it is treated as the current compatibility backend rather than a forever dependency.

License

MIT