Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

json-to-url

1.0.5 • Public • Published

Json To Url

Parse Json To Url Query

Import Package 'json-to-url'

import parse as 'json-to-url';

Parsing Object

var json = {
    name: 'joenix',
    "age": 30,
    'sex': "boy",
    email: 'joenix@qq.com'
};

console.log( parse(json) );

Possible Result

name=joenix&age=30&sex=boy&email=joenix@qq.com

Install

npm i json-to-url

DownloadsWeekly Downloads

389

Version

1.0.5

License

ISC

Last publish

Collaborators

  • avatar