hsk-words

0.1.0 • Public • Published

hsk-words Build Status

hsk-words is a "batteries-included" library for querying the Chinese Government's HSK (汉语水平考试) word list. This is a test used for university admission for foreigners in the PRC and includes 5,000 words in the list across all 6 levels.

Supports lookup by both traditional and simplified characters.

Usage

var hsk = require('hsk-words');

hsk.findLevel('学习', function(level){
  // level evaluates to -1 if not found, else is in 1..6
  console.log(level);
});

License

MIT

Package Sidebar

Install

npm i hsk-words

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • johnheroy