pksunkara / alpaca

Given a web API, Generate client libraries in node, php, python, ruby
Mozilla Public License 2.0
2.45k stars 89 forks source link

Question: nodejs output and browserify #21

Closed jduhls closed 10 years ago

jduhls commented 10 years ago

I am new to nodejs. Have you attempted to run the nodejs output through browserify (http://browserify.org/) and was it able to produce javascript that could be run in the browser?

jonathanrdelgado commented 10 years ago

@jduhls It should work fine.

pksunkara commented 10 years ago

The nodejs module generated by the library is a valid module passing all the tests with code written following all the conventions in nodejs. Browserify should work with it. If it doesn't, then it is a problem with browserify, not alpaca.