RunKit + npm: qs

node v6.17.1
endpointsharetweet
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