Skip to content

Node.js interface for the HSK (汉语水平考试) word list

Notifications You must be signed in to change notification settings

larswww/hsk-words

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Node.js interface for the HSK (汉语水平考试) word list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%