find-hanzi
Get some information about one or more characters.
Last updated 3 years ago by pepebecker .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install find-hanzi 
SYNC missed versions from official npm registry.

Find Hanzi

npm version Travis Build Status Coverage Status dependency status dev dependency status MIT-licensed chat on gitter

Install

npm install find-hanzi

Usage

const findHanzi = require('find-hanzi')

findHanzi('我')
.then(console.log)
.catch(console.error)
// [ {
//   hanzi: '我',
//   pinyin: 'wǒ',
//   pinyinList: ['wǒ'],
//   cangjie: '竹手戈',
//   cangjieRomanized: 'HQI',
//   strokes: '7',
//   frequency: '1',
//   definition: 'our, us, i, me, my, we'
// } ]

findHanzi('AMYO')
.then(console.log)
.catch(console.error)
// [ {
//   hanzi: '是',
//   pinyin: 'shì, tí',
//   pinyinList: ['shì', 'tí'],
//   cangjie: '日一卜人',
//   cangjieRomanized: 'AMYO',
//   strokes: '9',
//   frequency: '1',
//   definition: 'indeed, yes, right; to be; demonstrative pronoun, this, that'
// } ]

Related

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.

Current Tags

  • 1.0.11                                ...           latest (3 years ago)

12 Versions

  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (5)

Copyright 2014 - 2016 © taobao.org |