プロジェクトnode-querystring
概要
Node.js とブラウザー向けの querystring パーサー。ネストに対応(Express、Connect などで使用)
開発ツール計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルTHIS 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
関連プロジェクトを探す
読み込み中…