idsfind
Version:
A tool can search Chinese characters by their components and remaining stroke count
68 lines (41 loc) • 1.17 kB
Markdown
# IDSFIND
IDSと画数で漢字を検索するモジュール
A tool can search Chinese characters by their components and remaining stroke count
[](https://badge.fury.io/js/idsfind)
## Changelog
### 3.0.0
- Nothing changed in using
- Using tsup instead of rollup to make package
### 2.4.0
- Add Ext.H support
- Change to search always deeply
- Since the json file for GlyphWiki IDS is so big, move and create another module
Those who want to search characters in GlyphWiki by IDS, please use [gwsearch](https://github.com/kurgm/gwsearch)
## Install
```bash
npm install idsfind
```
## Use
nodejs
```js
const idsfind = require('idsfind')
console.log(idsfind.idsfind('口12'))
```
typescript
```js
import {idsfind} from 'idsfind'
console.log(idsfind('口12'))
```
## Build
```bash
npm run build
```
## Update data
Download data from Unihan, CHISE, CJKVI-IDS and generate new JSON files.
```bash
npm run generate
```
## References
[文字情報サービス環境CHISE](https://www.chise.org/index.ja.html)
[零時字引z0y](https://github.com/g0v/z0y)
[HDIC Viewer](https://viewer.hdic.jp)