This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Interface for the rivescript-js RiveScript interpreter
version 2.0.1
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 2.0.1
Committed At 2018-03-08 14:08:57 UTC
elm-tools/parser 2.0.1 <= v < 3.0.0 2.0.1
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1

README

elm-rivescript

An Elm RiveScript library This library provides an Elm interface for RiveScript built on top of the rivescript-js public API.

Internet Freedom edition v2.0.0

Internet Freedom release

This release was prepared at the IFF Internet Freedom Festival 2018 in Valencia, Spain.

  • Cleaner, more powerful RiveScript Bot API
  • Support for RiveScript error trapping
  • Support for directions (see What Are Direcrtions?)

Installation instructions

Work in progress Detailed installation instructions will follow.

When these steps are completed, installation should look something like:

  1. Install elm-rivescript as a dependency of your Elm app.

    elm package install elm-rivescript

  2. Install elm-rivescript as a dependency of your project.

    npm install elm-rivescript

  3. Initialise your bot from Javascript.

    detailed instructions to folllow

  4. Include both your bundled javascript and your Elm app in your HTML source.

Documentation

  • This packages source files are well documented. See the documentation at Elm Packages.
  • Also see the comments inline to src/elm-rivescript.js on Github.
  • The repo contains a worked example at examples/example.html.

License

MIT License

Copyright © 2018 Stichting Free Press Unlimited

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.