Converts X-SAMPA to IPA. Includes types and hopefully fully correct conversion.
$ yarn add @auctumnus/xsampa
or
$ npm install @auctumnus/xsampa
import { ipa } from '@auctumnus/xsampa'
ipa('aI_^ pi: eI_^') // = 'aɪ̯ piː eɪ̯'
MIT. Includes data from conniebot.