grace-speak
v2.1.1
Published
A composition api for SpeechSynthesis
Downloads
12
Maintainers
Readme
grace-speak
A composition api for SpeechSynthesis
Documentation • Change Log
Installing
# use pnpm
$ pnpm install grace-speak
# use npm
$ npm install grace-speak --save
# use yarn
$ yarn add grace-speak
Usage
- Simple use:
import Speaker from 'grace-speak'
const speaker = new Speaker()
speaker.speak('very good')
speaker.speak('powered by saqqdy<https://github.com/saqqdy>')
- Using unpkg CDN:
<!-- grace-speak < v2.0.0 -->
<!-- for modern browser -->
<script src="https://unpkg.com/[email protected]/dist/index.min.js"></script>
<!-- for ie11 and blow -->
<script src="https://unpkg.com/[email protected]/dist/es5/index.min.js"></script>
<!-- grace-speak >= v2.0.0 -->
<script src="https://unpkg.com/[email protected]/dist/index.global.prod.js"></script>
Support & Issues
Please open an issue here.