You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

simai.js

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simai.js

A serializer/deserializer for the rhythm game chart format simai.

1.1.4
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

simai.js Banner

npm version discord license

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!

Keywords

serializer

FAQs

Package last updated on 03 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts