Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You don’t really even need a transpiler. Require is basically just a function which loads a file, wraps it in some boilerplate, and evals it. You could just rip that runtime code out of node and provide it as a compatibility library.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: