https://github.com/minofrk/msf-pretty-print.js
An opinionated pretty-printer for MSF format.
https://github.com/minofrk/msf-pretty-print.js
javascript typescript xelto
Last synced: about 1 month ago
JSON representation
An opinionated pretty-printer for MSF format.
- Host: GitHub
- URL: https://github.com/minofrk/msf-pretty-print.js
- Owner: minofrk
- License: mit
- Created: 2019-06-08T01:01:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-11T18:42:19.000Z (about 1 month ago)
- Last Synced: 2025-04-11T19:48:50.076Z (about 1 month ago)
- Topics: javascript, typescript, xelto
- Language: TypeScript
- Size: 284 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
@minofrk/msf-pretty-print
===============================================================================[](https://www.npmjs.com/package/@minofrk/msf-pretty-print)
[](https://travis-ci.com/minofrk/msf-pretty-print.js)
[](LICENSE)
[](https://codecov.io/gh/minofrk/msf-pretty-print.js)[MSF 形式](https://github.com/minofrk/mino-seslax-format)の pretty-print をするライブラリです。
```typescript
msfPrettyPrint(state);
/*
{
"sast": "sorn",
"arxe": {
"txifol": ["lin", "len", "mat", "rez", "pin", "ket"],
"evol": null
},
"sorn": {
"txifol": ["vio", "fav", "mik", "lis", "mel"],
"evol": null
},
"ele": [
[ null, null, null, null, null, null, null],
["rav", null, null, "mir", null, "jil", "tan"],
[ null, null, null, null, "tem", null, "nen"],
["din", "dia", null, null, null, null, null],
[ null, null, null, "zan", "gil", null, null],
["pal", null, "ful", null, null, null, "ruj"],
[ null, "dyu", null, "ser", null, null, "ral"]
],
"korol": ["ruj"]
}
*/
```Install
-------------------------------------------------------------------------------npm install @minofrk/msf-pretty-print
Usage
-------------------------------------------------------------------------------```typescript
import msfPrettyPrint from '@minofrk/msf-pretty-print';msfPrettyPrint(/* State | Move | MSFType */);
```License
-------------------------------------------------------------------------------See [LICENSE](LICENSE)