/ts-bms-parser

It's a BMS parser written **in** typescript. It's a subtle joke. It's wordplay.

Primary LanguageTypeScriptOtherNOASSERTION

Typescript BMS Parser

I HAVE AN ACTUAL TYPESCRIPT BMS TABLE PARSER HERE

THIS IS A JOKE LIBRARY. IT'S A JOKE. DON'T USE IT!


This small library (0 sloc) is a BMS parser written in TypeScript.

Usage

type ParsedGengaozo = ParseBMS<`*---------------------- HEADER FIELD

#PLAYER 1
#GENRE P s y
#TITLE G e n g a o z o
#ARTIST 455-38B / 29
#BPM 153
#PLAYLEVEL -45
#RANK 3
#TOTAL 300
#VOLWAV 100
#STAGEFILE
`>;

// ParsedGengaozo ->
// {
//     PLAYER: "1";
//     GENRE: "P s y";
//     TITLE: "G e n g a o z o _ F U C";
//     ARTIST: "455-38B / 29";
//     BPM: "153";
//     PLAYLEVEL: "-45";
//     RANK: "3";
//     TOTAL: "300";
//     VOLWAV: "100";
// }
}

Problems

Yes.

Why?

BMS.