Skip to content

otamajakushi-packages/npm

Repository files navigation

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

About

Otamajakushi is a library which parses OTM-JSON (OneToMany-JSON)

Resources

Stars

Watchers

Forks

Packages

No packages published