qs.parse()

should support the basics6ms

expect(qs.parse('0=foo')).to.eql({ '0': 'foo' });

expect(qs.parse('foo=c++'))
  .to.eql({ foo: 'c  ' });

expect(qs.parse('a[>=]=23'))
  .to.eql({ a: { '>=': '23' }});

expect(qs.parse('a[<=>]==23'))
  .to.eql({ a: { '<=>': '=23' }});

expect(qs.parse('a[==]=23'))
  .to.eql({ a: { '==': '23' }});

expect(qs.parse('foo'))
  .to.eql({ foo: '' });

expect(qs.parse('foo=bar'))
  .to.eql({ foo: 'bar' });

expect(qs.parse(' foo = bar = baz '))
  .to.eql({ ' foo ': ' bar = baz ' });

expect(qs.parse('foo=bar=baz'))
  .to.eql({ foo: 'bar=baz' });

expect(qs.parse('foo=bar&bar=baz'))
  .to.eql({ foo: 'bar', bar: 'baz' });

expect(qs.parse('foo=bar&baz'))
  .to.eql({ foo: 'bar', baz: '' });

expect(qs.parse('cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World'))
  .to.eql({
      cht: 'p3'
    , chd: 't:60,40'
    , chs: '250x100'
    , chl: 'Hello|World'
  });

should support encoded = signs

Error: expected { he: 'llo=th=ere' } to sort of equal { 'he=llo': 'th=ere' }
    at Assertion.assert (http://104.131.229.131:5001/sistema-selletiva/node_modules/qs/test/browser/expect.js:99:13)
    at Assertion.eql (http://104.131.229.131:5001/sistema-selletiva/node_modules/qs/test/browser/expect.js:214:10)
    at Context.<anonymous> (http://104.131.229.131:5001/sistema-selletiva/node_modules/qs/test/parse.js:54:11)
    at Runnable.run (http://104.131.229.131:5001/sistema-selletiva/node_modules/qs/test/browser/mocha.js:3060:32)
    at Runner.runTest (http://104.131.229.131:5001/sistema-selletiva/node_modules/qs/test/browser/mocha.js:3367:10)
    at http://104.131.229.131:5001/sistema-selletiva/node_modules/qs/test/browser/mocha.js:3411:12
    at next (http://104.131.229.131:5001/sistema-selletiva/node_modules/qs/test/browser/mocha.js:3295:14)
    at http://104.131.229.131:5001/sistema-selletiva/node_modules/qs/test/browser/mocha.js:3304:7
    at next (http://104.131.229.131:5001/sistema-selletiva/node_modules/qs/test/browser/mocha.js:3254:23)
    at http://104.131.229.131:5001/sistema-selletiva/node_modules/qs/test/browser/mocha.js:3272:5
expect(qs.parse('he%3Dllo=th%3Dere'))
  .to.eql({ 'he=llo': 'th=ere' });