fut-api icon indicating copy to clipboard operation
fut-api copied to clipboard

Browserify support?

Open cael-gomes opened this issue 9 years ago • 3 comments

Congrats for your great job! Just wondering if you are considering to support browserify. It would be great to run directly on browser instead of running it over Node.js. http://browserify.org/ I tried to browserify your package, but when I try to log in, I got many redirects. Seems like the API is no longer able to send cookies when performing the next request.

EDIT: my idea is to create a chrome extension, so CORS would be avoided.

cael-gomes avatar Sep 28 '16 15:09 cael-gomes

I don't think it's going to work in the browser. request.js (the http lib of this repo) is relies on node.js http module. Otherwise what is the meaning to run it in the browser? If you would like to make a desktop app with GUI I suggest you to use electron: http://electron.atom.io/

gregbarcza avatar Oct 01 '16 07:10 gregbarcza

That's solution works only with node.js installed ?

Guih-sistemas avatar Oct 05 '16 21:10 Guih-sistemas

It's a node.js package yes!

gregbarcza avatar Oct 06 '16 08:10 gregbarcza