1.1.3 • Published 2 months ago

simai.js v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

simai.js Banner

simai.js

simai.js is an interpreter and serializer for simai, a custom chart format for the arcade rhythm game maimai, written in Typescript.

Getting Started

To use simai.js in your own project, install it via npm

pnpm add simai.js
yarn install simai.js
npm install simai.js

Then, use the following method to deserialize a chart:

import { SimaiFile, SimaiConvert } from "simai.js";

// or CommonJS version
// const { SimaiFile, SimaiConvert } = require("simai.js");

// Read it into your program
const simaiFile = new SimaiFile(chartContent);

// Specify a key to read, without the "&"
const chartKey = "inote_5";

// Get the corresponding value as a string
const rawChart = simaiFile.getValue(chartKey);

// Deserialize the chart
const chart = SimaiConvert.deserialize(rawChart);

Contribute

Issues and pull requests are welcome!

1.1.3

2 months ago

1.1.1

2 months ago

1.1.2

2 months ago

1.1.0

3 months ago

1.0.11

6 months ago

1.0.10

6 months ago

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago