0.1.1 • Published 9 years ago

oz-eval v0.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

oz-eval

Build Status

oz's eval components

example

install

browser

$ bower install oz-eval

node.js

$ npm install oz-eval

usage

browser

For bundling systems supporting commonjs, require('oz-eval').

The libary is also accessible via one of the build/ files:

  • oz-eval.js: oz-eval without its dependencies
  • oz-eval.all.js: oz-eval with its dependencies bundled
  • oz-eval.min.js: minified build of oz-eval
  • oz-eval.all.js: minified build of oz-eval with its dependencies bundled

If no module system is found, the oz-eval is exposed as the global ozeval.

nodejs

require('oz-eval')

api

ozeval(opts)

opts:

  • in: the input signal to use for reading evaluation requests
  • out: the output signal to use for sending evaluation results and errors
  • eval: (optional) the evaluation function to use. Defaults to an indirectly called eval.