qs-numbers
v0.0.1
Published
A qs plugin that enables number parsing.
Downloads
829
Readme
qs-numbers
A qs plugin that enables number
parsing.
Usage
var Qs = require('qs');
require('qs-numbers')(Qs);
var withNumbers = Qs.parse('a=1'); // { a: 1 }
var withoutNumbers = Qs.parse('a=1'); // { a: '1' }
var str = Qs.stringify(obj); // 'a=1'