1.4.0 • Published 10 years ago

terrarium-stream v1.4.0

Weekly downloads
2
License
ISC
Repository
github
Last release
10 years ago

terrarium-stream

This is an interface to terrarium that provides a readable & writable stream. Send it JavaScript code with instrumentation hints (//=value) and it sends you back messages when those values are ready. Automatically it destroys and creates sandboxes to fix the problem of runaway setInterval usage.

Like Terrarium, it provides browser and node contexts, and exposes them under .Node and .Browser

Examples

With a shoe stream, evaluating code on a server:

stream.pipe(terrariumStream()).pipe(stream);
1.4.0

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago