Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    component-querystringpublic

    querystring

    Simple key / value pair query-string parser and formatter.

    Installation

    $ component install component/querystring

    API

    .parse(string)

    Parse the given query string:

    var query = require('querystring');
    query.parse('name=tobi&species=ferret');
    // => { name: 'tobi', species: 'ferret' } 

    .stringify(object)

    Stringify the given object:

    var query = require('querystring');
    query.stringify({ name: 'tobi', species: 'ferret' });
    // => "name=tobi&species=ferret" 

    License

    MIT

    Keywords

    none

    install

    npm i component-querystring

    Downloadsweekly downloads

    6,911

    version

    2.0.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar