tymly-express-plugin

0.0.13 • Public • Published

tymly-express-plugin

JavaScript Style Guide license

Exposes the TymlyJS platform via an Express.js web app.

Proxy Configuration

This plugin provides a state resource that allows a state machine to get data from a rest API. If you are behind a firewall which, you may optionally set the PROXY_URL environment variable. This url will should look something like 'http://[USERNAME]:[PASSWORD]@[PROXY HOST]:[PROXY PORT]'.

Note that if your on a Active Directory network, your username may need to be prefixed with a domain, followed by the three characters '%5C', to separate the domain from the username.

So for example, if your domain is called 'WORLD', your username is 'j.smith', your password is 'superhero', your proxy host is 'proxy.world.net' and your proxy port is 1234, your proxy url would look like "http://world%5Cj.smith:superhero@proxy.world.net:1234".

Tuning

By default, when invoking external web API calls, a timeout is set to 3 seconds, but this can be overridden via the optional WEB_API_TIMEOUT_IN_MS environment variable.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i tymly-express-plugin

Weekly Downloads

0

Version

0.0.13

License

MIT

Unpacked Size

83.8 kB

Total Files

120

Last publish

Collaborators

  • timneedham