Installing
# use pnpm
$ pnpm install grace-speech
# use npm
$ npm install grace-speech --save
# use yarn
$ yarn add grace-speech
Usage
- Simple use:
import { Recognition, Speaker } from 'grace-speech'
const speaker = new Speaker()
const recognition = new Recognition()
speaker.speak('very good')
speaker.speak('powered by saqqdy<https://github.com/saqqdy>')
- Using unpkg CDN:
<script src="https://unpkg.com/grace-speech@1.0.0/dist/index.global.prod.js"></script>
Support & Issues
Please open an issue here.