Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (32 sloc) 1.708 kb
c04af1f @tj Initial commit
authored
1 # node-querystring
2
2b9796e @tj readme typo
authored
3 query string parser for node 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](http://expressjs.com), [connect](http://senchalabs.github.com/connect) and others.
c04af1f @tj Initial commit
authored
4
b062ac9 @tj examples
authored
5 ## Installation
6
dba4b42 @tj Release 0.0.1
authored
7 $ npm install qs
b062ac9 @tj examples
authored
8
ca9316d @bantic Update Readme to describe how to run tests
bantic authored
9
b062ac9 @tj examples
authored
10 ## Examples
11
94c85a4 @mhemesath Updated the example to provide correct module and output.
mhemesath authored
12 require('qs').parse('user[name][first]=tj&user[email]=tj');
13 // => { user: { name: { first: 'tj' }, email: 'tj' } }
b062ac9 @tj examples
authored
14
ca9316d @bantic Update Readme to describe how to run tests
bantic authored
15 ## Testing
16
17 Update git submodules:
18
19 $ git submodule init
20 $ git submodule update
21
22 and execute:
23
24 $ make test
25
c04af1f @tj Initial commit
authored
26 ## License
27
28 (The MIT License)
29
30 Copyright (c) 2010 TJ Holowaychuk <tj@vision-media.ca>
31
32 Permission is hereby granted, free of charge, to any person obtaining
33 a copy of this software and associated documentation files (the
34 'Software'), to deal in the Software without restriction, including
35 without limitation the rights to use, copy, modify, merge, publish,
36 distribute, sublicense, and/or sell copies of the Software, and to
37 permit persons to whom the Software is furnished to do so, subject to
38 the following conditions:
39
40 The above copyright notice and this permission notice shall be
41 included in all copies or substantial portions of the Software.
42
43 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
44 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
45 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
46 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
47 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
48 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
49 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Something went wrong with that request. Please try again.