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

umazing-musumengine

v2.0.1

Published

Umamusume tools rewritten in TypeScript: decrypt/encrypt (AES-256-CBC, msgpack)

Readme

Umazing Musumengine

CI Coverage

Docs:

:warning::warning: Before you continue :warning::warning:

This repository was not made to cause harm to Cygames, their products or their players. I love Uma Musume !!

If you or someone you know is affected by these tools, please write me a ticket so i will privatize it.

Thanks to user racsonaht at UnknownCheats for their initial work from which this tool started. Their original post is copied at docs/umamusume_api_info

What this repository is about

Tools to decrypt and build game requests/responses (AES-256-CBC, msgpack) with a modular structure. This repository is now fully TypeScript-based and ships as both an npm library and a CLI.

See CONTRIBUTING.md for style guidelines (multi-line control flow, concise comments) and project conventions.

Features

  • Decrypt request/response Base64 blobs from packs on disk
  • Build requests from decoded.json inputs with a deterministic AES-256 key
  • Clean TypeScript ESM codebase (Node 18+), bundled with esbuild for distribution
  • Commander-based CLI with decrypt, encrypt, and runtime subcommands
  • Split test suites (Vitest): unit and integration, with coverage and thresholds
  • Linting (ESLint flat config) and formatting (Prettier)

Structure

  • src/
    • index.ts: library entrypoint exports
    • lib/: core crypto, encoding/decoding, and shared utilities
      • runtime-client.ts: programmatic API to encode requests and decode responses in-process
      • decrypt/, encrypt/, models/, utils/: internal helpers and types
    • cli/index.ts: CLI entrypoint (umazing)
    • constants/: shared constants, including DETERMINISTIC_ENC_SECRET
  • tests/
    • unit-tests/**: focused unit specs for helpers
    • integration-tests/**: end-to-end flows: decrypt run(), encrypt build, skip cases, roundtrip
  • Config
    • vite.config.unit.ts and vite.config.integration.ts: split configs/coverage
    • tsconfig.base.json, tsconfig.build.types.json, tsconfig.json: base, build-types, repo configs
    • eslint.config.js, prettier config via package.json

Requirements

Node.js 18+ and npm.

Quick start

Install and use as a library:

npm install umazing-musumengine

Run the CLI without installing:

npx umazing-musumengine --help

Or install globally to get the umazing command:

npm install -g umazing-musumengine
umazing --help

Development (run TypeScript sources in this repo):

npm run cli -- --help
npm run cli -- decrypt all
npm run cli -- encrypt build

The double dash -- ensures npm forwards arguments to the CLI script.

Built CLI (after npm run build):

node dist/cli.js --help

Seed example fixtures (optional):

# Generate decrypt/input/example/{request.txt,response.txt}
npm run seed:example

# Then run integration tests, including decrypt example tests
npm run test:integration

Documentation

  • Usage (CLI + library): see docs/usage.md
  • Publishing (manual + GitHub Actions): see docs/publishing.md
  • API reference (generated): see docs/code/

CLI (installed)

umazing --help
umazing decrypt all
umazing encrypt build

Library (example)

import { RuntimeClient } from 'umazing-musumengine';

const client = new RuntimeClient();
const { requestB64 } = client.encodeRequest({
  blob1: {
    prefix: 'aabbcc',
    udid: '00'.repeat(16),
    session_id: '11'.repeat(16),
    response_key: '22'.repeat(32),
    auth_key: '33'.repeat(48),
  },
  payload: { x: 1 },
});

client.decodeResponse({ requestB64, responseB64: '<base64 response blob>' });

Development

npm install
npm run build
npm test
npm run lint
npm run format
npm run docs

Contributing

Please read CONTRIBUTING.md for coding style and project conventions.