fullwidth-halfwidth-convertor
v1.0.3
Published
fullwidth halfwidth convertor
Downloads
41
Maintainers
Readme
Fullwidth Halfwidth Convertor v1.0.3
Installation
Using npm:
$ npm i -g npm
$ npm i --save fullwidth-halfwidth-convertor
In Node.js
Commonjs
const { halfToFull, fullToHalf } = require('fullwidth-halfwidth-convertor');
console.log(fullToHalf('フール'));
console.log(halfToFull('フール'));
Modulejs or Typescript
import { halfToFull, fullToHalf } from 'fullwidth-halfwidth-convertor';
console.log(fullToHalf('フール'));
console.log(halfToFull('フール'));