yarn add aflr or npm install --save aflr
It can be used by a singular import or modular imports.
import Aflr from "aflr";
Aflr.configure(...);
Aflr.Script.list();import Aflr, { Script, Voice, Speech } from "aflr";
Aflr.configure(...);
Script.list();A detailed documentation can be found on docs.api.audio
npm version <version_type>
version_type can be: major, minor or patch
then
npm publish
To be able to run the tests, create a .env file and put a valid API_KEY parameter in it. Also see test-config.ts file.