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/grace-speak@1.1.0/dist/index.min.js"></script>
<!-- for ie11 and blow -->
<script src="https://unpkg.com/grace-speak@1.1.0/dist/es5/index.min.js"></script>
<!-- grace-speak >= v2.0.0 -->
<script src="https://unpkg.com/grace-speak@2.0.0/dist/index.global.prod.js"></script>
Support & Issues
Please open an issue here.