Skip to content

kirinokirino/kanji-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kanji-collector

wasm function that parses utf-8 string and outputs js object containing kanjis. Kanjis that were together are in the same string. Nothing smart is going on, so different words that didn't have anything separating them will still be in the same string.

import * as wasm from "kanji-collector"; wasm.search_kanji( "testこの建物は現代的に見える。君が知ってる人の中で誰が一番賢い?" )

###git push --set-upstream origin master

🐑 Use cargo generate to Clone this Template

Learn more about cargo generate here.

cargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project
cd my-project

🛠️ Build with wasm-pack build

wasm-pack build

🔬 Test in Headless Browsers with wasm-pack test

wasm-pack test --headless --firefox

🎁 Publish to NPM with wasm-pack publish

wasm-pack publish

🔋 Batteries Included

About

WASM lib that parses utf-8 and outputs contained kanji.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages