otamajakushi
v1.2.0
Published
Otamajakushi is a library which parses OTM-JSON (OneToMany-JSON)
Downloads
4
Readme
otamajakushi
Otamajakushi is a library which parses OTM-JSON (OneToMany-JSON)
Installation
npm i otamajakushi
Sample
import * as fs from 'fs';
import OTMJSON from 'otamajakushi';
const json = fs.readFileSync('./dictionary.json', 'utf8');
const dictionary = OTMJSON.parse(json);
console.log(dictionary.words.length); // Print the number of words in the dictionary
See also otamajakushi-sample (Japanese)
Version
Version 1.2.0
- "plainInformationTitles" is nullable
Version 1.1.0
- Add "zpdicOnline"
Version 1.0.0
- Release Otamajakushi