text-to-ipa

1.0.0 • Public • Published

node-text-to-ipa

https://www.npmjs.com/package/text-to-ipa

NPM port of the amazing text-to-ipa project.

Use

const TextToIPA = require('text-to-ipa');
TextToIPA.lookup('word'); // > wɚˈd

If your lookup call needs to respond immediately, you can explicitly load the built-in dictionary

const TextToIPA = require('text-to-ipa');
TextToIPA.loadDict(); // blocking load

TextToIPA.lookup('word'); // > wɚˈd

The dictionary is loaded once only.

Readme

Keywords

none

Package Sidebar

Install

npm i text-to-ipa

Weekly Downloads

93

Version

1.0.0

License

none

Unpacked Size

3.03 MB

Total Files

6

Last publish

Collaborators

  • shukriadams