npm

Need private packages and team management tools?Check out npm Orgs. »

google-transliterate

0.1.0 • Public • Published

google-transliterate

NPM version Build Status Dependency Status Coverage Status

Non-official Google Transliterate API for Node.js

Note

Install

$ npm install --save google-transliterate

Usage

var googleTransliterate = require('google-transliterate');
 
googleTransliterate.transliterate('おあややおやにおあやまり', 'ja-Hira', 'ja', function(err, transliteration){
  transliteration = [
    [ 'おあやや', [ 'お文や', 'おあやや', 'お彩や', 'お綾や', 'オアヤヤ' ] ],
    [ 'おやに', [ '親に', 'おやに', 'オヤに', 'お屋に', 'お矢に' ] ],
    [ 'おあやまり', [ 'お誤り', 'お謝り', 'おあやまり', 'オアヤマリ', 'オアヤマリ' ] ]
  ];
});

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using gulp.

Release History

0.1.0 release

License

Copyright (c) 2014 sanemat. Licensed under the MIT license.

Keywords

none

install

npm i google-transliterate

Downloadsweekly downloads

9

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability