jasondavies / science.js

Scientific and statistical computing in JavaScript.
http://www.jasondavies.com/
Other
886 stars 93 forks source link

Export modules for use within the node console #5

Closed kitmonisit closed 12 years ago

kitmonisit commented 12 years ago

With these commits, science.js can now be used within Node:

> var s = require("./science").science
> s
> s.lin
> s.stats

I think they'll be useful for developing individual functions.

kitmonisit commented 12 years ago

Can now use science.js from Node with:

> require("./science")
> science
> science.lin
> science.stats
jasondavies commented 12 years ago

Thanks, included in v1.9.1!