Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/minhducsun2002/node-osr-parser

A library to read osu! replay files
https://github.com/minhducsun2002/node-osr-parser

nodejs npm osr osu osu-libraries osugame

Last synced: about 1 month ago
JSON representation

A library to read osu! replay files

Awesome Lists containing this project

README

        

# `node-osr-parser`
![](https://img.shields.io/github/actions/workflow/status/minhducsun2002/node-osr-parser/TypeScript%20compilation)
![](https://img.shields.io/github/actions/workflow/status/minhducsun2002/node-osr-parser/Jest%20tests?label=tests)
[![](https://img.shields.io/npm/v/@minhducsun2002/node-osr-parser)](https://www.npmjs.com/package/@minhducsun2002/node-osr-parser)
###### Another library to parse osu! replays

### Usage
```ts
import { Replay } from 'node-osr-parser';
// CommonJS
const { Replay } = require('node-osr-parser');

const a : Buffer = readFileSync('your/osr/file');
new Replay(a).deserialize().then(replay => console.log(replay.player));
```

### License
MIT license. See [here](./LICENSE).