Skip to content

Divide a string of Japanese Kana into mora

License

Notifications You must be signed in to change notification settings

otariidae/kana2mora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kana2mora

GitHub Workflow Status npm

Divide a string of Japanese Kana into mora

Installation

$ npm i kana2mora

Usage

You can use ECMAScript modules.

import { katakana2mora } import "kana2mora"

katakana2mora("チョコレート") // ["チョ", "コ", "レ", "ー", "ト"]

You can also use CommonJS modules.

const { katakana2mora } = require("kana2mora")

katakana2mora("チョコレート") // ["チョ", "コ", "レ", "ー", "ト"]

License

CC0

About

Divide a string of Japanese Kana into mora

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published