idsfind
Version:
IDSと画数で漢字を検索するモジュール
67 lines (40 loc) • 1.12 kB
Markdown
# IDSFIND
IDSと画数で漢字を検索するモジュール
Searching Chinese characters by their components and remaining stroke count
[](https://badge.fury.io/js/idsfind)
## Changelog
### 3.1.0
- Add Ext.I, Ext.J support
### 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 update
```
## References
[文字情報サービス環境CHISE](https://www.chise.org/index.ja.html)
[零時字引z0y](https://github.com/g0v/z0y)
[HDIC Viewer](https://hdic2.let.hokudai.ac.jp)