https://github.com/pepebecker/hsk-words
Get information about HSK words.
https://github.com/pepebecker/hsk-words
chinese hanzi hsk mandarin pinyin
Last synced: about 1 year ago
JSON representation
Get information about HSK words.
- Host: GitHub
- URL: https://github.com/pepebecker/hsk-words
- Owner: pepebecker
- License: mit
- Created: 2017-05-28T01:18:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-25T07:38:56.000Z (over 5 years ago)
- Last Synced: 2025-05-04T22:37:19.086Z (about 1 year ago)
- Topics: chinese, hanzi, hsk, mandarin, pinyin
- Language: JavaScript
- Homepage: https://github.com/pepebecker/hsk-words
- Size: 17.6 KB
- Stars: 16
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HSK Words
[](https://travis-ci.org/pepebecker/hsk-words)
[](https://coveralls.io/github/pepebecker/hsk-words)
[](https://david-dm.org/pepebecker/hsk-words)
[](https://david-dm.org/pepebecker/hsk-words#info=devDependencies)
[](https://opensource.org/licenses/MIT)
[](https://gitter.im/pepebecker)
## Install
```shell
npm install pepebecker/hsk-words
```
## Usage
```js
const hsk = require('hsk-words')
hsk.get('我')
.then(console.log)
.catch(console.error)
// {
// simplified: '我',
// traditional: '我',
// pinyin: 'wǒ',
// pinyinN: 'wo3',
// definition: 'I; me',
// hsk: 1
// }
hsk.get('喜欢')
.then(console.log)
.catch(console.error)
// {
// simplified: '喜欢',
// traditional: '喜歡',
// pinyin: 'xǐhuan',
// pinyinN: 'xi3huan5',
// definition: 'to like',
// hsk: 1
// }
```
## Related
- [`pinyin-utils`](https://github.com/pepebecker/pinyin-utils)
- [`pinyin-split`](https://github.com/pepebecker/pinyin-split)
- [`find-hanzi`](https://github.com/pepebecker/find-hanzi)
- [`cedict`](https://github.com/pepebecker/cedict)
- [`mdbg`](https://github.com/pepebecker/mdbg)
- [`pinyin-or-hanzi`](https://github.com/pepebecker/pinyin-or-hanzi)
- [`hanzi-to-pinyin`](https://github.com/pepebecker/hanzi-to-pinyin)
- [`pinyin-convert`](https://github.com/pepebecker/pinyin-convert)
- [`pinyin-rest`](https://github.com/pepebecker/pinyin-rest)
- [`pinyin-api`](https://github.com/pepebecker/pinyin-api)
- [`pinyin-bot-core`](https://github.com/pepebecker/pinyin-bot-core)
- [`pinyin-telegram`](https://github.com/pepebecker/pinyin-telegram)
- [`pinyin-messenger`](https://github.com/pepebecker/pinyin-messenger)
- [`pinyin-line`](https://github.com/pepebecker/pinyin-line)
- [`pinyin-chrome`](https://github.com/pepebecker/pinyin-chrome)
- [`pinyin-cli`](https://github.com/pepebecker/pinyin-cli)
- [`hanzi-cli`](https://github.com/pepebecker/hanzi-cli)
## Contributing
If you **have a question**, **found a bug** or want to **propose a feature**, have a look at [the issues page](https://github.com/pepebecker/hsk-words/issues).