open-index/open-npm huggingface dataset:
npm package: @litexa/apla
Description: Support for auto generating APL-A documents from Litexa semantics
Author: Amazon
Latest version: 0.9.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Litexa APLA

This package is an extension for [Litexa](www.litexa.com) that
adds support for creating [APLA](https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-for-audio-reference.html)
responses out of Litexa semantics.

This is largely achieved through a new Litexa concept: an APLA
"block", a named region of material that belongs together.

An APLA Block can have an optional background track, on top of
which it will combine any number of Litexa `say` and `soundEffect`
statements, the way you'd normal expect them to concatenate in
`outputSpeech`. For example, the following Litexa:

```coffeescript
launch
  APLABlock "intro"
    background: intro-jingle.mp3
    fadeIn: 1000
    loop: 3
    delay: 3000

  say "Welcome to the skill!"
  if daysBetween( @lastLaunch, context.now ) > 6
    say "Haven't seen you in a while now, lots to catch up on!"

  @lastLaunch = context.now

  soundEffect ready.mp3

  say "Let's get right to it."
    or "I'm ready to get into it."
  -> getStarted

```

...might produce the an APLA document with the following mainTemplate:

```javascript
mainTemplate: {
  items: [
    {
      id: "intro",
      type: "Sequencer",
      items: [
        {
          type: "Mixer",
          items: [
            {
              items:
              [
                {
                  type: "Audio",
                  source: "intro-jingle.mp3",
                  filter: { type: "fadein" }
                },
                {
                  type: "Audio",
                  source: "intro-jingle.mp3"
                },
                {
                  type: "Audio",
                  source: "intro-jingle.mp3"
                }
              ]
            },
            {
              type: "Sequence",
              items: [
                {
                  type: "Silence",
                  duration: 3000
                },
                {
                  type: "Speech",
                  content: "<speak>Welcome to the skill! Haven't seen you in a while now, lots to catch up on!</speak>"
                },
                {
                  type: "Audio",
                  source: "ready.mp3"
                },
                {
                  type: "Speech",
                  content: "<speak>I'm ready to get into it.</speak>"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
```

You can disable APLA generation temporarily for any given response by setting the variable `APLA.disableAPLA` to `true`.
npm package: @litexa/core
Description: Litexa, a programming language for writing Alexa skills
Author: Amazon
Latest version: 0.9.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Litexa Package

Litexa is an Alexa domain specific language, developed for long form multi-turn skills such as games.
This package contains the source for the CLI and core runtime.

Further documentation can be found at <https://litexa.com>

## Installing Litexa

### Prerequisites

The following needs to be installed and configured:

* [Node.js](https://nodejs.org/) (with npm)

Note: Requires Node.js version 8.11 or higher.

### Installing

Litexa is intended to be used as a command line
utility, installed as a global npm package.
Given an environment with node installed:

```bash
npm install -g @litexa/core
```

From then on, you should be able to invoke the `litexa`
command from anywhere on your machine.

Note: if you are installing from the source monorepo, then you
can use a local reference for installing instead. Switch to
the litexa directory, then run:

```bash
npm install ./ -g
```

Additional components of Litexa are provided as
separate extension modules, with the intention that each
project can pick and choose which functionality it would
like to incorporate. See further below for a list of known
extensions.
npm package: @litexa/voices
Description: This module adds support for voice tags in litexa.
Author: Amazon
Latest version: 0.9.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

The prototype litexa-voices extension adds support for simple Poly voice use in Litexa via new `say` statement tags.

See ASK documentation on the [voice](https://developer.amazon.com/en-US/docs/alexa/custom-skills/speech-synthesis-markup-language-ssml-reference.html#voice), [prosody](https://developer.amazon.com/en-US/docs/alexa/custom-skills/speech-synthesis-markup-language-ssml-reference.html#prosody), and [amazon:emotion](https://developer.amazon.com/en-US/docs/alexa/custom-skills/speech-synthesis-markup-language-ssml-reference.html#amazon-emotion) tags for more information.




Examples:

    say "<Matthew>Hello there, I'm the Matthew voice. See you later."
    say "<quickly>Oh, wait a minute, I forgot something."
    say "<excited>You won!"