Function: parseOsu()
Parses .osu file content into a structured OsuBeatmap object.
ts
import { parseOsu } from 'osu-files'
const beatmap = parseOsu(source)
return {
title: beatmap.metadata.title,
objects: beatmap.hitObjects.length,
}Call Signature
parseOsu(
content):OsuBeatmap
Defined in: src/beatmap/parse.ts:64
Parameters
| Parameter | Type |
|---|---|
content | string |