Skip to content

🇨🇳 Chinese dictionary. Fork from node-cc-cedict with updated dependencies and database.

Notifications You must be signed in to change notification settings

couplingcafe/coupling-dict-chinese

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coupling-dict-chinese

This is a fork of node-cc-cedict that updates some dependencies and the database from 2014 to 2020.

coupling-dict-chinese provides a convenient asynchronous JavaScript API for the popular CC-CEDICT Chinese-English dictionary. This is a 'batteries-included' library and comes with a premade SQLite conversion of the entire dictionary.

Single search method defaults to traditional if the entire word provided is in traditional characters, otherwise converts everything to simplified and performs that lookup instead.

Usage

const cedict = require('coupling-dict-chinese');

cedict.searchByChinese('世界', words => {
  console.log(words);
});

License

MIT

About

🇨🇳 Chinese dictionary. Fork from node-cc-cedict with updated dependencies and database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •