ojsama
ojsama is an open-source JavaScript library designed to work with osu! beatmap data. It provides utilities to parse .osu beatmap files and extract timing, object, and metadata information, and to calculate a map’s difficulty rating, commonly referred to as star rating, using osu! standard difficulty models. The library is written in JavaScript and runs in both Node.js environments and in browsers via bundlers, enabling its use in serverside tooling as well as client-side applications.
Developed to support automated beatmap processing and tooling, ojsama is widely used in community projects for
Typical usage involves reading a beatmap file or content, constructing an osu beatmap object, and invoking
ojsama is distributed as an open-source project, with its source code hosted on a public repository and