-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js compatibility #1
Comments
Glad to read that you like dataseries.js! It is still evolving and it would be awesome to see it included in your projects. You should be save to require dataseries.js (from the top-level directory) in node.js. var ds = require('./dataseries');
var data = ds.generators.f(ds.functions.identity)
.inputs(ds.range(10))
.values();
console.log(data); Let me know if this works out for you and if this solves your problem! |
@metmajer It solves the problem but it makes node a second-class citizen. Why not publish it to npm? |
Sorry, not by intention, I just don't have any experience with node. |
@metmajer Check. You got it. Expect a pull-request soon. |
@indexzero Any luck so far? |
First: nice work!
Any thoughts you releasing a node.js compatible version? If you rip our the CommonJS parts you can still do AMD for the browser if that's your cup of tea.
I could see this being very useful when working with data from Godot and window-streams.
The text was updated successfully, but these errors were encountered: