-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 wrapper for dart:io #27349
Comments
From @Kleak on April 22, 2016 9:52 Hey maybe i can help on this task. I'm wrapping nodejs with the js package : nodejs.dart The only problem i have is that i am not able to launch generated js file in node with this CL it throw an error:
|
From @Kleak on April 22, 2016 12:37 Nop, thanks, i will retry with this :) |
yeah you may want to sync to "master" as well. The newer compiler won't generate "dart/_runtime" anymore, it should be trying to |
From @Kleak on May 5, 2016 17:57 ok is there a starting point where i can look how to wrap an API ? Or is it the same as with the js package ? |
Has i have saied i have started a wrap of node.js, this wrap follow the node.js api. All the api are not cover for the moment but the basic is almost here. |
Yeah this would be pretty cool. I'm building an HTML server and I want to use PugJS to render templates. I thought of creating a PugJS wrapper but realized dart:io server stuff is probably not portable to JavaScript. What is the current state of that? |
The library is here https://github.com/electron-dart If you have question dont hesitate yo open issues ;) |
No immediate plans to do this. |
From @jmesserly on January 29, 2016 18:8
We can now compile & run on nodejs. But we don't have a dart:io impl.
Copied from original issue: dart-archive/dev_compiler#436
The text was updated successfully, but these errors were encountered: