Projekte
Auf GitHub ansehen node-querystring
tj/node-querystring
Über uns
querystring-Parser für Node.js und den Browser mit Unterstützung für Verschachtelungen (verwendet von Express, Connect usw.).
EntwicklerwerkzeugeGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalTHIS REPOSITORY IS NOW DEPRECATED
[email protected]+ is now maintained by the awesome hapijs team at hapijs/qs.
Please direct any new issues and concerns in that repository!
node-querystring 
query string parser for node and the browser supporting nesting, as it was removed from 0.3.x, so this library provides the previous and commonly desired behaviour (and twice as fast). Used by express, connect and others.
Installation
$ npm install qs
Examples
var qs = require('qs');
qs.parse('user[name][first]=Tobi&user[email][email protected]');
// => { user: { name: { first: 'Tobi' }, email: '[email protected]' } }
qs.stringify({ user: { name: 'Tobi', email: '[email protected]' }})
// => user[name]=Tobi&user[email]=tobi%40learnboost.com
Testing
Install dev dependencies:
$ npm install -d
and execute:
$ make test
browser:
$ open test/browser/index.html
Ähnliche Projekte entdecken
Wird geladen…