1.0.0 • Published 10 years ago

queso v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

queso

Turn a plain object into a query string

Install

npm install queso --save

Usage

You can use queso to generate a full query string.

queso({ foo: 'bar', baz: true });
// <- ?foo=bar&baz

You can also demand that the prefix is always an ampersand &.

queso({ foo: 'bar', baz: true }, true);
// <- &foo=bar&baz

License

MIT