grace-speak
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

grace-speak

A composition api for SpeechSynthesis

NPM version Codacy Badge Test coverage npm download License

Sonar

Installing

# use pnpm
$ pnpm install grace-speak

# use npm
$ npm install grace-speak --save

# use yarn
$ yarn add grace-speak

Usage

  1. Simple use:
import Speaker from 'grace-speak'

const speaker = new Speaker()

speaker.speak('very good')
speaker.speak('powered by saqqdy<https://github.com/saqqdy>')
  1. 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.

License

MIT

/grace-speak/

    Package Sidebar

    Install

    npm i grace-speak

    Weekly Downloads

    8

    Version

    2.1.1

    License

    MIT

    Unpacked Size

    69.3 kB

    Total Files

    11

    Last publish

    Collaborators

    • saqqdy