Skip to content
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

convert modules to node.js? #62

Closed
millermedeiros opened this issue Aug 7, 2012 · 1 comment
Closed

convert modules to node.js? #62

millermedeiros opened this issue Aug 7, 2012 · 1 comment

Comments

@millermedeiros
Copy link
Owner

sometimes I see myself writing a node.js script and want to use some of the amd-utils methods and end up copying and pasting the method I need... it would be way easier if amd-utils worked as a npm package as well (out of the box).

need to check if someone already coded a tool to convert AMD code into CJS. if the AMD -> node.js tool doesn't exist we could write a script that appends amdefine to the top of each module and output it into a separate folder (just for node), not the most elegant solution but would work.

millermedeiros added a commit that referenced this issue Aug 8, 2012
Add script to convert AMD modules into a node.js compatible package
and create an index.js file that loads all the modules.
@millermedeiros
Copy link
Owner Author

I wrote a tool called nodefy to do the module conversion. Will integrate today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant