Skip to content

2.0.0

Choose a tag to compare

@azu azu released this 07 Jul 05:53
· 39 commits to master since this release

Code Refactoring

BREAKING CHANGES

Remove default function

kuromojin v1.1.0 export tokenize as default function.
kuromojin v2.0.0 remove the default function.

// v1.x
import kuromojin from "kuromojin";
// kuromojin === tokenize

V2.0 should use import {tokenize} from "kuromojin" instead of it

// v2.x
import {tokenize} from "kuromojin";