Coder Social home page Coder Social logo

myndzi / node-querystring Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tj/node-querystring

0.0 3.0 0.0 338 KB

querystring parser for node and the browser - supporting nesting (used by Express, Connect, etc)

License: MIT License

JavaScript 98.32% CSS 1.68%

node-querystring's Introduction

node-querystring Build Status

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

node-querystring's People

Contributors

tj avatar buschtoens avatar eivindfjeldstad avatar sebs avatar cscade avatar bantic avatar aredridel avatar juliangruber avatar jackyz avatar aheckmann avatar abecciu avatar davidmurdoch avatar dmit avatar dougwilson avatar tcha-tcho avatar errordeveloper avatar ljharb avatar mhemesath avatar nazomikan avatar sindresorhus avatar toolmantim avatar guilipan avatar

Watchers

James Cloos avatar Kris Reeves avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.