New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

simai.js

Package Overview
Dependencies
Maintainers
1
Versions
15
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.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
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

FAQs

Package last updated on 21 Mar 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc