body-to-query

1.1.0 • Public • Published

#body2Query convert json object to querystring

Install

npm install body-to-query

Quick Example

var body2Query = require('body-to-query').body2Query;

var json = {
  firstName: 'Phil',
  lastName: 'Huang'
}

body2Query(json)  // ?firstName=Phil&lastName=Huang

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i body-to-query

      Weekly Downloads

      0

      Version

      1.1.0

      License

      MIT

      Last publish

      Collaborators

      • wrenth04