Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ygoreplay/yrp
The blazing fast parser for YRP1 or YRPX format
https://github.com/ygoreplay/yrp
Last synced: about 1 month ago
JSON representation
The blazing fast parser for YRP1 or YRPX format
- Host: GitHub
- URL: https://github.com/ygoreplay/yrp
- Owner: ygoreplay
- Created: 2021-03-27T04:04:15.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-08T02:38:20.000Z (over 2 years ago)
- Last Synced: 2024-05-05T04:33:18.779Z (7 months ago)
- Language: C++
- Homepage:
- Size: 434 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-blazingly-fast - yrp - The blazing fast parser for YRP1 or YRPX format (C++)
README
yrp
The blazing fast parser for YRP1 or YRPX format
## Purpose of development
We already know most of the YGOPro/EDOPro related projects are quite obsolete and hard to contribute since they are developed in quite low level (or not-using) languages. (e.g. CoffeeScript, C/C++, etc.) we know those ecosystems will eventually occur tons of problem. so I had decided to resolve this issues in _**modern**_ and _**elegant**_ way.
so this is a native parser project for node environment. this means I want to live lazy like other webdevs 😂. but you would realize that providing modules for productive languages can have a lot of impact on improving development ecosystem of YGOPro/EDOPro.
## Dependencies
- [Node.js](https://nodejs.org/) >= 14
## Installation
```
npm i yrp
```or if you use [yarn](https://github.com/yarnpkg/berry):
```
yarn add yrp
```## How to use
```tsx
import { Replay } from "yrp";// ...
// of course you can load replay from raw buffer too!
const replay = await Replay.fromFile("./target-file.yrp");
```