0.8.0 • Published 2 years ago
@sociably/script v0.8.0
Script Module
Control conversation flow with programming language styled script.
Install
npm install @sociably/core @sociably/http @sociably/script
# or with yarn
yarn add @sociably/core @sociably/http @sociably/script
Docs
Check the Dialog Script document and the package reference.
Setup
Register the built script like this:
import Sociably from '@sociably/core';
import Script from '@sociably/script';
import BeforeSunrise from './scenes/BeforeSunset';
import BeforeSunset from './scenes/BeforeSunset';
import BeforeMidnight from './scenes/BeforeSunset';
const app = Sociably.createApp({
modules: [
Script.initModule({
libs: [
BeforeSunrise,
BeforeSunset,
BeforeMidnight,
],
}),
],
});
0.9.0-alpha.0
2 years ago
0.9.0-alpha.4
2 years ago
0.9.0-alpha.26
2 years ago
0.9.0-alpha.13
2 years ago
0.8.0
2 years ago
0.8.0-alpha.28
2 years ago
0.8.0-alpha.43
2 years ago
0.8.0-alpha.10
2 years ago
0.8.0-alpha.24
2 years ago
0.8.0-alpha.40
2 years ago
0.8.0-alpha.9
2 years ago
0.8.0-alpha.8
2 years ago
0.8.0-alpha.5
2 years ago
0.8.0-alpha.4
3 years ago
0.8.0-alpha.3
3 years ago
0.8.0-alpha.0
3 years ago
0.8.0-alpha.1
3 years ago
0.7.1
3 years ago
0.7.0
3 years ago