tj / node-querystring

querystring parser for node and the browser - supporting nesting (used by Express, Connect, etc)
MIT License
455 stars 66 forks source link

Use this in the browser without using component.js? #90

Closed jisaacks closed 10 years ago

jisaacks commented 10 years ago

Is there anyway to install for use in the browser without using component.js?

I am working on a project that I would like to make depend on this project. My project will able to be installed by including a .js file for use in the browser.

I don't want to have to tell people to go install component.js just to install a dependency when my project doesn't even use component.js.

I can see the source in index.js just defines everything globally, so it cannot be installed directly.

It would be nice if there was a generated qs.js (or whatever you want to name it) that could be installed directly and hosted on a cdn.

tj commented 10 years ago

yup component build --standalone qs should do it, giving you the qs global

jisaacks commented 10 years ago

That worked. Thanks.