Skip to content

johnheroy/node-cc-cedict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-cc-cedict Build Status

node-cc-cedict 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

var cedict = require('node-cc-cedict');

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

License

MIT

About

Node.js Interface for CC-CEDICT (http://cc-cedict.org/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages