Reputation: 91
So, I implemented this node.js module which uses deasync.js (as I needed some synchronous computations, and javascript promise was not good enough)
Now, I had to import that to frontend side, and call it from the browser.
But, it seems like browserify.js cannot make it happen. (I see errors complaining about deasync.js part , and it does not work)
Is there any ways to make this happen? Probably frontend version of deasync.js?
I looked at npm module that does the similar job, (synchronous.js), but it seems like browserify.js doesn't like it too. (Since it depends on node(?))
Thanks.
Upvotes: 8
Views: 1007