UTF-8 halfwidth katakana interconversion functions
npm install hanzen[![Sauce Test Status][sauce-image]][sauce]
> UTF-8 halfwidth katakana interconversion functions
``bash`
$ npm install hanzen --save
`js`
var hanzen= require('hanzen');
console.log(hanzen); //object
`bash`
$ bower install hanzen --save
`html`
引数strに含まれているカタカナ(。「」、・ヲァィゥェォャュョッーアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワンガギグゲゴザジズゼゾダヂヅデドバパビピブプベペボポヷヴヺ)の全角・半角の相互変換を行います。
それ以外の文字は置換しません。
`js
var hanzen= require('hanzen');
hanzen.toHankaku('あのイーハトーヴォのすきとおった風');
// 'あのイーハトーヴォのすきとおった風'
hanzen.toZenkaku('あのイーハトーヴォのすきとおった風');
// 'あのイーハトーヴォのすきとおった風'
``
License
---
[MIT][License]
[License]: http://59naga.mit-license.org/
[sauce-image]: http://soysauce.berabou.me/u/59798/hanzen.svg
[sauce]: https://saucelabs.com/u/59798
[npm-image]:https://img.shields.io/npm/v/hanzen.svg?style=flat-square
[npm]: https://npmjs.org/package/hanzen
[travis-image]: http://img.shields.io/travis/59naga/hanzen.svg?style=flat-square
[travis]: https://travis-ci.org/59naga/hanzen
[coveralls-image]: http://img.shields.io/coveralls/59naga/hanzen.svg?style=flat-square
[coveralls]: https://coveralls.io/r/59naga/hanzen?branch=master