'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _toKana = require('../toKana');

var _toKana2 = _interopRequireDefault(_toKana);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/**
 * Convert [Romaji](https://en.wikipedia.org/wiki/Romaji) to [Hiragana](https://en.wikipedia.org/wiki/Hiragana)
 * @param  {String} [input=''] text
 * @param  {Object} options used internally to pass along default options
 * @return {String} converted text
 * @example
 * romajiToHiragana('hiragana')
 * // => "ひらがな"
 * @ignore
 */
function romajiToHiragana() {
  var input = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

  return (0, _toKana2.default)(input, options, true /* ignore case to enforce Hiragana conversion */);
}

exports.default = romajiToHiragana;