Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: qs
node v6.17.1
endpoint
share
tweet
const qs = require('qs') // qs just returns a as a string. console.log(qs.parse('a=1')) // The [] make qs always return an array. console.log(qs.parse('a[]=1')) console.log(qs.parse('a[]=1&a[]=2'))
Created from: https://runkit.com/npm/qs
Loading…
no comments
sign in
to comment