https://github.com/chanind/hanzi-writer-data

The data used by Hanzi Writer

https://github.com/chanind/hanzi-writer-data

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.7%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

The data used by Hanzi Writer

Basic Info
Statistics
  • Stars: 592
  • Watchers: 12
  • Forks: 228
  • Open Issues: 14
  • Releases: 1
Created over 8 years ago · Last pushed over 2 years ago
Metadata Files
Readme

README.md

Hanzi Writer Data

View a live-demo of this data at chanind.github.io/hanzi-writer-data

About

This is the character data used by Hanzi Writer. This data was originally contained in the Hanzi Writer repo, but was moved out for several reasons:

  • This data is licensed separately from the Hanzi Writer source code.
  • This allows users who wish to import character data in NPM to do so without forcing everyone to download the character data along with Hanzi Writer.
  • Publishing on NPM makes this data available on the jsdelivr CDN, so data can be loaded via, for instance, https://cdn.jsdelivr.net/npm/hanzi-writer-data@latest/我.json.

Check out chanind.github.io/hanzi-writer for more info about Hanzi Writer.

Usage

By default Hanzi Writer will automatically load this character data from the jsdelivr CDN when needed, so most users don't need to worry about loading this data explicity. However, loading this data explicitly can allow Hanzi Writer to work offline which is great for mobile apps. Also, if you know in advance which characters Hanzi Writer should display you can preload the data and avoid needing to make a web request at all, which is a nice speed boost. The easiest way to load Hanzi Writer character data is via npm:

npm install hanzi-writer-data

Then, you can require character data in JS just like you would any other JS module:

js const wo = require('hanzi-writer-data/我');

You can then pass this data into Hanzi Writer via the charDataLoader option, like below:

``` const HanziWriter = require('hanzi-writer'); const woData = require('hanzi-writer-data/我');

var writer = new HanziWriter('target', '我', { charDataLoader: function(char) { return woData; }
});

```

License

This data comes from the Make Me A Hanzi project, which extracted the data from fonts by Arphic Technology, a Taiwanese font forge that released their work under a permissive license in 1999. You can redistribute and/or modify this data under the terms of the Arphic Public License as published by Arphic Technology Co., Ltd. A copy of this license can be found in ARPHICPL.TXT.

Owner

  • Name: David Chanin
  • Login: chanind
  • Kind: user
  • Location: London, UK
  • Company: UCL

GitHub Events

Total
  • Issues event: 1
  • Watch event: 83
  • Fork event: 26
Last Year
  • Issues event: 1
  • Watch event: 83
  • Fork event: 26

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 20
  • Total Committers: 1
  • Avg Commits per committer: 20.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
David Chanin c****v@g****m 20

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 13
  • Total pull requests: 6
  • Average time to close issues: 2 days
  • Average time to close pull requests: 3 minutes
  • Total issue authors: 13
  • Total pull request authors: 5
  • Average comments per issue: 1.23
  • Average comments per pull request: 0.17
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • haveamission (1)
  • lolaswift (1)
  • changcw83 (1)
  • giappi (1)
  • zhangquanchen (1)
  • andrewmung (1)
  • daotrungkien (1)
  • hanyoud (1)
  • AntonOfTheWoods (1)
  • lancejpollard (1)
  • conanchen (1)
  • torfhub (1)
  • gajewsk2 (1)
Pull Request Authors
  • dependabot[bot] (2)
  • philip-bui-goldenowl (2)
  • Aaron2464 (1)
  • yestolife (1)
  • chanind (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (2)

Packages

  • Total packages: 4
  • Total downloads:
    • npm 5,926 last-month
  • Total dependent packages: 10
    (may contain duplicates)
  • Total dependent repositories: 7
    (may contain duplicates)
  • Total versions: 9
  • Total maintainers: 3
npmjs.org: hanzi-writer-data

The character data used by Hanzi Writer. This data is derived from the Make Me a Hanzi project.

  • Versions: 4
  • Dependent Packages: 8
  • Dependent Repositories: 6
  • Downloads: 5,802 Last month
Rankings
Downloads: 2.0%
Forks count: 2.5%
Dependent packages count: 2.5%
Average: 3.0%
Stargazers count: 3.3%
Dependent repos count: 4.6%
Maintainers (1)
Last synced: 12 months ago
npmjs.org: hanzi-writer-data-jp

The character data used by Hanzi Writer for Japanese. This data is derived from Make Me a Hanzi and animCJK.

  • Versions: 2
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 93 Last month
Rankings
Forks count: 2.5%
Stargazers count: 3.3%
Dependent repos count: 10.6%
Average: 12.3%
Dependent packages count: 21.3%
Downloads: 23.8%
Maintainers (1)
Last synced: 12 months ago
npmjs.org: @jamsch/hanzi-writer-data-jp

The character data used by Hanzi Writer for Japanese. This data is derived from Make Me a Hanzi and animCJK.

  • Versions: 2
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Downloads: 2 Last month
Rankings
Forks count: 2.9%
Stargazers count: 4.1%
Dependent packages count: 16.2%
Average: 17.4%
Dependent repos count: 25.3%
Downloads: 38.6%
Maintainers (1)
Last synced: 11 months ago
npmjs.org: kanji-writer-data-jp

The character data used by Hanzi Writer for Japanese. This data is derived from Make Me a Hanzi and animCJK.

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 29 Last month
Rankings
Dependent repos count: 32.1%
Average: 39.1%
Dependent packages count: 46.0%
Maintainers (1)
Last synced: 12 months ago

Dependencies

package.json npm
  • http-server ^0.11.1 development
yarn.lock npm
  • async 1.5.2
  • colors 1.0.3
  • corser 2.0.1
  • debug 2.6.9
  • ecstatic 3.2.0
  • eventemitter3 1.2.0
  • he 1.1.1
  • http-proxy 1.16.2
  • http-server 0.11.1
  • mime 1.6.0
  • minimist 0.0.8
  • minimist 1.2.0
  • minimist 0.0.10
  • mkdirp 0.5.1
  • ms 2.0.0
  • opener 1.4.3
  • optimist 0.6.1
  • portfinder 1.0.13
  • qs 2.3.3
  • requires-port 1.0.0
  • union 0.4.6
  • url-join 2.0.5
  • wordwrap 0.0.3