{"_id":"@aaronhayes/qstring","_rev":"3-487de95b59b9d14d264830bc22715303","name":"@aaronhayes/qstring","dist-tags":{"latest":"1.0.2"},"versions":{"0.0.2":{"name":"@aaronhayes/qstring","version":"0.0.2","description":"The easiest way to build query strings","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/aaronhayes/qstring.git"},"license":"MIT","keywords":["querystring","qs","builder","query","string"],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && open-cli coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","prepare-release":"run-s reset test cov:check version","preinstall":"node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('qstring must be installed with Yarn: https://yarnpkg.com/')\""},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, and prep a release"},"engines":{"node":">=10.16"},"dependencies":{},"devDependencies":{"@bitjson/npm-scripts-info":"^1.0.0","@bitjson/typedoc":"^0.15.0-0","@istanbuljs/nyc-config-typescript":"^0.1.3","ava":"2.4.0","codecov":"^3.5.0","cz-conventional-changelog":"^3.0.2","husky":"^3.0.9","lint-staged":"^9.4.2","npm-run-all":"^4.1.5","nyc":"^14.1.1","open-cli":"^5.0.0","prettier":"^1.18.2","pretty-quick":"^2.0.0","standard-version":"^7.0.0","trash-cli":"^3.0.0","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","tslint-immutable":"^6.0.1","typescript":"^3.5.3"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"extends":"@istanbuljs/nyc-config-typescript","exclude":["**/*.spec.js"]},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"gitHead":"5e3d04bf84b53cd3b6a49cd82aea71df09ad570f","bugs":{"url":"https://github.com/aaronhayes/qstring/issues"},"homepage":"https://github.com/aaronhayes/qstring#readme","_id":"@aaronhayes/qstring@0.0.2","_nodeVersion":"10.16.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-BLMDXSXWzrrTy49nVP2GwcmJA94m2CTJTCvu2tnxHrJwSgmRDC5Wl9ztO+MH1MWT3wx+5Y5yj5Rsy9CGHR/D5g==","shasum":"ee1d5d5891b95dfbf4ac76e0495cab32d1b23e3c","tarball":"https://registry.npmjs.org/@aaronhayes/qstring/-/qstring-0.0.2.tgz","fileCount":10,"unpackedSize":12422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqGKtCRA9TVsSAnZWagAAHPAP/ikEMMLKXRbnmF55GEY5\ncC56zO4Hdpbo9CnYVfhvn3AqxFItOXK1BjMNKoDJ/nkkb3ena1yrxAEjo79G\nlWomAuuVS6o47z8H7im+4SSPObyNZNEx7RmppKer4bkha/jGHQw+NF6EqZ8L\nQ2XmVd1XItO60l9JBBxph6Pq08h3nuwJFUrrxeHKjWZFXC7ZkkLI/7cHoEUI\n4eIdWrwaWDzyKqOiZiAi/aRzShwm8Gd2DWESnwXjrb1FQrHhBfXW/7GEX2i4\ntucNLZCF1ZRra3cwUYgHFE562vbY6eyGLn1lA62VSeAHkq5WiDXmhJMugrbz\nHELLWxlkAPJQx9JxacAKGMkz4aPY5++9N7pBiqQvovyddrMoSh/xTMTYZj7f\nI9DmxiltOmI2mtQn/EJEN5ngqO/QXMQ9FhwkOiLvRwddJKGdFYsf96oAZCqb\ntU9ctfembPEwUJM2HaoDO47U66RUqCiqwNi1Q5p5ftYAaReMH/LEiL4rsHSn\nbfLBzg2GTjZEPFy3za4ez6mQmcqFCo2210ps3HrXCiqRMrto1GXp05ik85gs\nP4ZQzTNFGoDWJxfflMG7oxrBl+QMvQ09fYRA4oS3Io9v9mmaViZjI3w0grPx\nWzI1qoSfPyYUgzkHqw9LMR0wW+X8IBPTo3591dG9AMMcavrBG17bQHmbFVWp\nRmXs\r\n=ZceM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPYZIRJQUyqaeKZSOk5KTaAwICaKWEG5hYbEPvwdCxKwIgcS7s3E0E/cfg4tn5/bNDqhKJYXtH7fCCJ0Bqg1sn1NA="}]},"maintainers":[{"name":"aaronhayes","email":"aaron.hayes92@gmail.com"}],"_npmUser":{"name":"aaronhayes","email":"aaron.hayes92@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qstring_0.0.2_1571316396895_0.9841918913509196"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aaronhayes/qstring","version":"1.0.1","description":"The easiest way to build query strings","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/aaronhayes/qstring.git"},"license":"MIT","keywords":["querystring","qs","builder","query","string","query string","query-string"],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && open-cli coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","prepare-release":"run-s reset test cov:check version","preinstall":"node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('qstring must be installed with Yarn: https://yarnpkg.com/')\""},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, and prep a release"},"engines":{"node":">=10.16"},"dependencies":{},"devDependencies":{"@bitjson/npm-scripts-info":"^1.0.0","@bitjson/typedoc":"^0.15.0-0","@istanbuljs/nyc-config-typescript":"^0.1.3","ava":"2.4.0","codecov":"^3.5.0","cz-conventional-changelog":"^3.0.2","husky":"^3.0.9","lint-staged":"^9.4.2","npm-run-all":"^4.1.5","nyc":"^14.1.1","open-cli":"^5.0.0","prettier":"^1.18.2","pretty-quick":"^2.0.0","standard-version":"^7.0.0","trash-cli":"^3.0.0","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","tslint-immutable":"^6.0.1","typescript":"^3.5.3"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"extends":"@istanbuljs/nyc-config-typescript","exclude":["**/*.spec.js"]},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"gitHead":"fa723f4817e1acaa3fa681482700a86ebb82747c","bugs":{"url":"https://github.com/aaronhayes/qstring/issues"},"homepage":"https://github.com/aaronhayes/qstring#readme","_id":"@aaronhayes/qstring@1.0.1","_nodeVersion":"10.16.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-7sIht2ILeOR+2rdHiopgJYgTK0QIDW7rHJ1gvJ1347yGsqQA40pKWaQ4kROqI+xZ3Kkr4WOzuZtmlNv5gPMwmA==","shasum":"5fcb683bd25f5640c42b8b045a902b495081d4f7","tarball":"https://registry.npmjs.org/@aaronhayes/qstring/-/qstring-1.0.1.tgz","fileCount":10,"unpackedSize":13083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqGcxCRA9TVsSAnZWagAAzsUP/39v541DI5IbgwHsKN9h\n13zp6YYN5DRUmFnsZcxXXRjDgz7jP6ENKKrrJAEfH6WiuNagYKQnzsVppDPe\nMgqYs6nj2PeteyYmOpluZRFWBW8BC2DsSRKD9F8BteC/W/Mysb83L0gENZyK\nXaSfuygBnhr8fDyZmIKlZ/6AeGl7PsEKU7vmV3DWjLb/wkecfmfF1peNKSsK\nHoCyP6HIM+foc/4Q8I5Nm1kMONUTgRz5zHctXmWPVqSoPvsmOC2bunEVmhCQ\nWQqkkbS4PXdn2qVZCm+1EDnYXLQUWPQU8vGQhpLwiSpicpcfKemJuqwwg8v+\nCnrg1hkkGig7bmLDCTmBnkos727hUSKfZ2VEq8pywSLg/bv6V9/GJUQThvhr\nsnOGWgTufBiFfSeC6vkr94yrVj3bhXpccJ5V7iQBeEWEwsJUmoCHt5rjhVvO\nFsSiTYtUkMRqcqy/HQWnvLICWDPugYDB5F3UNvvkqBbLpymTQIBAjHYMIjVt\n9U5EVEABhk1Afi65tZmeJvJwuZXvRGeVULFbec2v/lGSUDDjOqZiH8VCrf18\nlucIeZ6Eg2Y6aJ94DFLHJd7k6sdqEFJUWf9MVPzphmJNFxgYZDJ8xP1Mdkhg\n0wvhL7Ym+Ai+ofIOFlB4YcZtFjzPV0wHHrmodBY3eur533cuWifiILg44Vfn\n9rJn\r\n=TMh0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEQmV8OzCRS/kCVQ8MQ7EN2GNuD2Cw3pRQ/q8njoH9lVAiBEobanGvCigf4EQdAbkCHgWSrNpsFEozuldH/Av7+oOg=="}]},"maintainers":[{"name":"aaronhayes","email":"aaron.hayes92@gmail.com"}],"_npmUser":{"name":"aaronhayes","email":"aaron.hayes92@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qstring_1.0.1_1571317552671_0.7021976962579353"},"_hasShrinkwrap":false},"1.0.2":{"name":"@aaronhayes/qstring","version":"1.0.2","description":"The easiest way to build query strings","main":"build/main/index.js","typings":"build/main/index.d.ts","module":"build/module/index.js","repository":{"type":"git","url":"git+https://github.com/aaronhayes/qstring.git"},"license":"MIT","keywords":["querystring","qs","builder","query","string","query string","query-string"],"scripts":{"describe":"npm-scripts-info","build":"run-s clean && run-p build:*","build:main":"tsc -p tsconfig.json","build:module":"tsc -p tsconfig.module.json","fix":"run-s fix:*","fix:prettier":"prettier \"src/**/*.ts\" --write","fix:tslint":"tslint --fix --project .","test":"run-s build test:*","test:lint":"tslint --project . && prettier \"src/**/*.ts\" --list-different","test:unit":"nyc --silent ava","watch":"run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"","cov":"run-s build test:unit cov:html && open-cli coverage/index.html","cov:html":"nyc report --reporter=html","cov:send":"nyc report --reporter=lcov && codecov","cov:check":"nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100","version":"standard-version","reset":"git clean -dfx && git reset --hard && npm i","clean":"trash build test","prepare-release":"run-s reset test cov:check version","preinstall":"node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('qstring must be installed with Yarn: https://yarnpkg.com/')\""},"scripts-info":{"info":"Display information about the package scripts","build":"Clean and rebuild the project","fix":"Try to automatically fix any linting problems","test":"Lint and unit test the project","watch":"Watch and rebuild the project on save, then rerun relevant tests","cov":"Rebuild, run tests, then create and open the coverage report","version":"Bump package.json version, update CHANGELOG.md, tag release","reset":"Delete all untracked files and reset the repo to the last commit","prepare-release":"One-step: clean, build, test, and prep a release"},"engines":{"node":">=10.16"},"dependencies":{},"devDependencies":{"@bitjson/npm-scripts-info":"^1.0.0","@bitjson/typedoc":"^0.15.0-0","@istanbuljs/nyc-config-typescript":"^0.1.3","ava":"2.4.0","codecov":"^3.5.0","cz-conventional-changelog":"^3.0.2","husky":"^3.0.9","lint-staged":"^9.4.2","npm-run-all":"^4.1.5","nyc":"^14.1.1","open-cli":"^5.0.0","prettier":"^1.18.2","pretty-quick":"^2.0.0","standard-version":"^7.0.0","trash-cli":"^3.0.0","tslint":"^5.18.0","tslint-config-prettier":"^1.18.0","tslint-immutable":"^6.0.1","typescript":"^3.5.3"},"ava":{"failFast":true,"files":["build/main/**/*.spec.js"],"sources":["build/main/**/*.js"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"prettier":{"singleQuote":true},"nyc":{"extends":"@istanbuljs/nyc-config-typescript","exclude":["**/*.spec.js"]},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"gitHead":"ae1c170a4f0914265461b189726f03bce29387f3","bugs":{"url":"https://github.com/aaronhayes/qstring/issues"},"homepage":"https://github.com/aaronhayes/qstring#readme","_id":"@aaronhayes/qstring@1.0.2","_nodeVersion":"10.16.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-eZ2Mtwf9dghb4K5M3d9dhdfVN0WXYy1fQwaETZaEgjitTw666jhnCl+70rkdOSG+R8BdvWSgvoe58TwMeL1RWA==","shasum":"21715a78bf29f12a2a8a2f0141b1cd0e4cc07291","tarball":"https://registry.npmjs.org/@aaronhayes/qstring/-/qstring-1.0.2.tgz","fileCount":10,"unpackedSize":13380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqXx0CRA9TVsSAnZWagAAUgoP/jc9qgjr8VwxBuzEJ6FB\n20+L9BHMnXcELK/XUXUPgP1EiNWNGTXML4gcIYAfhh8yyicL84TzbbYSE0oT\nU8/3Wuq5ZrWz9KCgqbovyiW3Z+NQBeyFBuFEswEoKoL6E65ejPMWDxD6PUzQ\nzL2RgI6svx8ciL9nJAMbeIh6TTeaQhRU9w8UX+yz0vDVe4nPGX1kZ0+0UaZ1\nIHGEIUaw31czxOhjcYYABhTVgivwYoU3+NPdYR7mlWD5pG91nvhDu/1c/ut4\nZjNkAKbSnkY2alD/lWFcvuztd3oa1K3T1wrb2FbfQFAkD6/FurTpbpDhGvEa\nDL7U88XBv8bUfgu0oG8ec2DxR+R992ErMBTYwLez3A+fwtK9zt5HbGGMDwrV\nzFNJG5T709EUobkGcpYqsYmseFM91Qqd7789ujMhHHSTV2TYDqTWXwatG1OC\nZ/gkRbY953ITcvqq3Cbv009MWDPfB8VRLnBGRkPsH/sOEQmE9stqym4qPREY\no7GDQzSJS5qoExMToUwatk7V0++d5OdXdD+fDGcV7zQSNGVte8vMYB4BIg/n\njHQC6g71ntB7G1qE1jfL9P2rqbIWfUaCfyMuhPhy6r/z1UBKuiBBDJmjTyPb\n2jbD2ie+7Rn9pxAH7SPl1ipnpdh7StA+aW4h3GlS2pOs7rwwAkFNpH6BHRy2\nN1o1\r\n=o1Hx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZNu/MkEBVR7cycQKMBflG5j3PgaroiQJcyXpAGAnaywIhAOImt3uh3AUsP9iCVhaB05sXTm9xp/1/s5UEUiY3v4m6"}]},"maintainers":[{"name":"aaronhayes","email":"aaron.hayes92@gmail.com"}],"_npmUser":{"name":"aaronhayes","email":"aaron.hayes92@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/qstring_1.0.2_1571388532164_0.048671933994198335"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-17T12:46:36.653Z","0.0.2":"2019-10-17T12:46:37.005Z","modified":"2022-04-04T10:55:40.650Z","1.0.1":"2019-10-17T13:05:52.803Z","1.0.2":"2019-10-18T08:48:52.291Z"},"maintainers":[{"name":"aaronhayes","email":"aaron.hayes92@gmail.com"}],"description":"The easiest way to build query strings","homepage":"https://github.com/aaronhayes/qstring#readme","keywords":["querystring","qs","builder","query","string","query string","query-string"],"repository":{"type":"git","url":"git+https://github.com/aaronhayes/qstring.git"},"bugs":{"url":"https://github.com/aaronhayes/qstring/issues"},"license":"MIT","readme":"# qstring\n\n[![npm (scoped)](https://img.shields.io/npm/v/@aaronhayes/qstring?style=flat-square)](https://www.npmjs.com/package/@aaronhayes/qstring)\n![Build](https://img.shields.io/travis/aaronhayes/qstring?style=flat-square)\n![Codecov](https://img.shields.io/codecov/c/github/aaronhayes/qstring?style=flat-square)\n[![Bundle Size](https://img.shields.io/bundlephobia/min/@aaronhayes/qstring?style=flat-square)](https://bundlephobia.com/result?p=@aaronhayes/qstring@1.0.1)\n![License](https://img.shields.io/npm/l/@aaronhayes/qstring?style=flat-square)\n\nThe easiest way to build querystrings. A lightweight, easy to use way to build full urls including the querystring. Less than [400B Minified & GZipped](https://bundlephobia.com/result?p=@aaronhayes/qstring@1.0.1)!\n\nThe popular [query-string](https://github.com/sindresorhus/query-string) only handles the part querystring part, so there is another step of building the final url. The API inspired by JedWatson's [Classnames](https://github.com/JedWatson/classnames) Package.\n\n## Install\n\n```\n$ npm install --save @aaronhayes/qstring\n```\n\n```\n$ yarn add @aaronhayes/qstring\n```\n\n## Usage\n\n```TypeScript\nimport qstring, { ArrayFormat } from '@aaronhayes/qstring';\n\nconst qs = qstring('https://myapi.com', {\n    foo: 'bar',\n    foobar: true,\n    foo3: null,\n    foo4: undefined\n});\n\nconsole.log(qs);\n// https://myapi.com?foo=bar&foobar=true\n\nconst qs = qstring(\n    'https://myapi.com',\n    {\n        foo: ['hello', 'world'],\n        cat: 'dog'\n    }\n);\n\nconsole.log(qs);\n// https://myapi.com?foo=hello&foo=world&cat=dog\n\nconst qs = qstring(\n    'https://myapi.com',\n    {\n        foo: ['hello', 'world'],\n        cat: 'dog'\n    },\n    ArrayFormat.comma\n);\n\nconsole.log(qs);\n// https://myapi.com?foo=hello,world&cat=dog\n\n```\n\n## See Also\n\n- [query-string](https://github.com/sindresorhus/query-string)\n- [Classnames](https://github.com/JedWatson/classnames)\n- [Typescript Starter](https://github.com/bitjson/typescript-starter)\n","readmeFilename":"README.md"}