otamajakushi
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i otamajakushi

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

7.86 kB

Total Files

22

Last publish

Collaborators

  • skytomo