0.3.0 • Published 6 years ago

fixchar v0.3.0

Weekly downloads
13
License
MIT
Repository
github
Last release
6 years ago

fixchar

CircleCI

Convert legacy Japanese characters such as fullwidth alphanumerics and symbols

Install

$ npm install fixchar
$ yarn add fixchar

Usage

const { fixchar } = require("fixchar"); // Only required in Node.js, or using bundler such as Browserify and Webpack

const fixed1 = fixchar("東京都港区港南 2ー16ー3");
console.log(fixed1); // 東京都港区港南 2-16-3

const fixed2 = fixchar("(屮゜Д゜)屮 カモーン!");
console.log(fixed2); // (屮゜Д゜)屮 カモーン!

const fixed3 = fixchar("私の専攻分野は,コンピューターサイエンスです.");
console.log(fixed3); // 私の専攻分野は,コンピューターサイエンスです.
0.3.0

6 years ago

0.2.0

6 years ago

0.1.1

9 years ago