Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

aflorithmic/aflr_npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

63e4c94 · Jul 20, 2021
Jul 7, 2021
Feb 19, 2021
Feb 19, 2021
Feb 19, 2021
Feb 16, 2021
Jul 20, 2021
Jul 7, 2021
Feb 20, 2021
Jul 7, 2021
Jul 7, 2021
Mar 17, 2021
Mar 12, 2021

Repository files navigation

THIS PACKAGE IS DEPRECATED. PLEASE USE "apiaudio" PACKAGE INSTEAD.

Javascript SDK

Documentation

Installation

yarn add aflr or npm install --save aflr

Import and Usage

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

Development notes

How to push a new version

npm version <version_type>

version_type can be: major, minor or patch

then

npm publish

Running tests

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.