5.0.0 • Published 4 years ago

@tangonoya/common v5.0.0

Weekly downloads
6
License
MIT
Repository
gitlab
Last release
4 years ago

Tangonoya

Data source for Japanese words and kanji.

Usage

JMdict updater

import { updateDatabase } from "@tangonoya/provider-jmdict"

updateDatabase(opts = {}): Promise

Updates a MongoDB database with the latest entries from JMdict.

  • opts.gunzipUrl - Passed to gunzip-then-rsync
  • opts.rsyncSource - Passed to gunzip-then-rsync

WaniKani updater

import { updateDatabase } from "@tangonoya/provider-wanikani"

updateDatabase(opts): Promise

Updates a MongoDB database with 'subjects' from the WaniKani API.

  • opts.apiKey - A WaniKani v2 API key.

Townsend updater

import { updateDatabase } from "@tangonoya/provider-townsend"

updateDatabase(opts): Promise

Update a MongoDB database with Townsend's phonetic components data.

License

This source code itself is licensed with MIT. However, source files may be licensed under different terms:

5.0.0

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago