Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pepebecker/hsk-words
Get information about HSK words.
https://github.com/pepebecker/hsk-words
chinese hanzi hsk mandarin pinyin
Last synced: 1 day 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-25T07:38:56.000Z (almost 4 years ago)
- Last Synced: 2023-02-26T03:56:17.714Z (over 1 year ago)
- Topics: chinese, hanzi, hsk, mandarin, pinyin
- Language: JavaScript
- Homepage: https://github.com/pepebecker/hsk-words
- Size: 17.6 KB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HSK Words
[![Travis Build Status](https://travis-ci.org/pepebecker/hsk-words.svg)](https://travis-ci.org/pepebecker/hsk-words)
[![Coverage Status](https://coveralls.io/repos/github/pepebecker/hsk-words/badge.svg)](https://coveralls.io/github/pepebecker/hsk-words)
[![dependency status](https://img.shields.io/david/pepebecker/hsk-words.svg)](https://david-dm.org/pepebecker/hsk-words)
[![dev dependency status](https://img.shields.io/david/dev/pepebecker/hsk-words.svg)](https://david-dm.org/pepebecker/hsk-words#info=devDependencies)
[![MIT-licensed](https://img.shields.io/github/license/pepebecker/hsk-words.svg)](https://opensource.org/licenses/MIT)
[![chat on gitter](https://badges.gitter.im/pepebecker.svg)](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).