You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

historykana

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

historykana

Analyse Japanese Furigana from key input history

1.0.6
latest
Source
npmnpm
Version published
Weekly downloads
9.3K
48.79%
Maintainers
3
Weekly downloads
 
Created
Source

HistoryKana

Get Japanese Furigana from input history

Circle CI

Usage

var historykana = require("historykana")

// Stock input history
var inputHistory = ["y","や","やm","やま","やまd","やまだ","山田","山田","山田t","山田た","山田たr","山田たろ","山田たろう","山田太郎","山田太郎"]

var historykana(inputHistory)
// => やまだたろう

API

historykana(inputHistories, options)

  • inputHistories (Required)
    • Input History Array
  • options
    • Option object.

Options

kanaRegexp (="^[  ぁあ-んー]*$")

Hiragana detection regular expression rule.

FAQs

Package last updated on 16 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts