sloisel / numeric

Numerical analysis in Javascript
http://www.numericjs.com/
Other
1.42k stars 177 forks source link

node.js support #30

Closed molefrog closed 11 years ago

molefrog commented 11 years ago

It would be nice, if numeric.js would have node.js support (require-style loading and npm package). I don't think it's a big deal, because it's browser-independent.

mikolalysenko commented 11 years ago

It is already there. You can just do:

 npm install numeric

And then:

 var numeric = require("numeric")

Though I agree it might be nicer to make a more modular library.

molefrog commented 11 years ago

That's awesome! Thank you. Maybe I was confused because I couldn't find package.json in repo. Thanks again!