{"_id":"@aidenlx/jsonurl","_rev":"4-dbbeff2518d5709746c9eb98d4b365a3","name":"@aidenlx/jsonurl","dist-tags":{"latest":"1.0.2-SNAPSHOT"},"versions":{"1.0.0-SNAPSHOT":{"name":"@aidenlx/jsonurl","version":"1.0.0-SNAPSHOT","publishConfig":{"access":"public"},"description":"JSON->URL defines a text format for the JSON data model suitable for use within a URL/URI (as described by RFC3986).","main":"dist/jsonurl.common.js","browser":"dist/jsonurl.min.js","moduleName":"JsonURL","types":"./jsonurl.d.ts","scripts":{"build":"rollup -c","test":"jest","lint":"env DEBUG=eslint:cli-engine eslint .","jsdoc":"jsdoc -c jsdoc.config.js -a public"},"repository":{"type":"git","url":"git+https://github.com/jsonurl/jsonurl-js.git"},"keywords":["JSON->URL","json","url","uri"],"author":{"name":"David MacCormack"},"license":"MIT","bugs":{"url":"https://github.com/jsonurl/jsonurl-js/issues"},"homepage":"https://www.jsonurl.org/","peerDependencies":{},"devDependencies":{"@babel/cli":"^7.14.3","@babel/core":"^7.14.3","@babel/preset-env":"^7.14.2","@rollup/plugin-babel":"^5.3.0","babel-jest":"^27.0.2","editorconfig":"^0.15.3","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.3.6","eslint-plugin-prettier":"^3.4.0","jest":"^27.0.4","jsdoc":"^3.6.7","prettier":"^2.3.0","rollup":"^2.48.0","rollup-plugin-eslint":"^7.0.0","rollup-plugin-terser":"^7.0.2","typescript":"^4.2.4"},"browserslist":"defaults","gitHead":"9f84b3b013bb046ece270ff1f4eaa9df1f9bd0c1","_id":"@aidenlx/jsonurl@1.0.0-SNAPSHOT","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"integrity":"sha512-B6bp/4MHje9xphciDu4/M1JDw5qnDBqscDmH+nE/WjmEfTIMSUU6zCz6s7e0J9bKetFQGvIWISV1Sr0mn1YWiA==","shasum":"214d5243185e6b29d675e4c399327dc40e6599f9","tarball":"https://registry.npmjs.org/@aidenlx/jsonurl/-/jsonurl-1.0.0-SNAPSHOT.tgz","fileCount":10,"unpackedSize":208086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQMEjCRA9TVsSAnZWagAAHhwP/3bYgyIKrZjrO9BACEBI\n3xS5oGIJ4XxvYYLa9wgMl8t1+7wlC+F3/fjyfPXiipjhb2iD8AYQJ0HeURSS\nEJFGaRyKMofxvgBJwEWRNv4127olGtY7IB29cRBdgpZU4U15Duuk37UVZPhH\nM6RO8V4EcVuE124jYg+aAGrifiSqJd+jzhQUcI1PSvi6uVRqo5y8+MwEUaZC\n7S82DJCi/aATk+7p7e8YyQI/AyBLvnb7cDPKuGm0fBD1k/3/D73IfWJSLaT9\nv8xChEw3twKRRSy1d3TBAuTm8aR0cR82R9nAc+Fc6YUPMTuRkdJHDWc2agwD\nPV9KO+7kVCVUNirvin9Vr2Cw7t+ULKm/UAgmCbZ7eYDUbw6M2jnO8CHBi6Wj\nLWwZqpc37ipf2Y9EpizsSDqb01Us5dKO7QDRS1jM6nOA2W9EBEvITxUj1+bj\n0bKqQik5qzDVQPdCNqQ02HEg8DYmo94mGZxgyv4c8l1xEcG9psg1oOy8UgGR\nSy2j12ZyUWLdBbMf3MOxUT2E+Y+ktQuY6GZLOYfAKgLrOJdAQ4fzrIKImdzC\nxMzQEPfyBQslLPC/V2GvmOrS99n2Clz1E5ufsZ4+EOmIiM9KyapXahBz5ozz\nadGDP/g/999F9axJbJJlMz40N69aDTRqWN+bUJ9+nm9G4wVguKOo9JE7DDgQ\nCLUW\r\n=g4/I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtghtSXjdh+6YVX/2dCO2XsJmeMPnqstWQV1B7v9eP+AIgQcp64KlLat/KABkZ/AFf8iPPMGOdoEKDqNWiYi0j02Q="}]},"_npmUser":{"name":"aidenlx","email":"aiden.lx@outlook.com"},"directories":{},"maintainers":[{"name":"aidenlx","email":"aiden.lx@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsonurl_1.0.0-SNAPSHOT_1631633698920_0.8387582476716158"},"_hasShrinkwrap":false},"1.0.1-SNAPSHOT":{"name":"@aidenlx/jsonurl","version":"1.0.1-SNAPSHOT","publishConfig":{"access":"public"},"description":"JSON->URL defines a text format for the JSON data model suitable for use within a URL/URI (as described by RFC3986).","main":"dist/jsonurl.common.js","browser":"dist/jsonurl.min.js","moduleName":"JsonURL","types":"./jsonurl.d.ts","scripts":{"build":"rollup -c","test":"jest","lint":"env DEBUG=eslint:cli-engine eslint .","jsdoc":"jsdoc -c jsdoc.config.js -a public"},"repository":{"type":"git","url":"git+https://github.com/jsonurl/jsonurl-js.git"},"keywords":["JSON->URL","json","url","uri"],"author":{"name":"David MacCormack"},"license":"MIT","bugs":{"url":"https://github.com/jsonurl/jsonurl-js/issues"},"homepage":"https://www.jsonurl.org/","peerDependencies":{},"devDependencies":{"@babel/cli":"^7.15.4","@babel/core":"^7.15.5","@babel/preset-env":"^7.15.4","@rollup/plugin-babel":"^5.3.0","babel-jest":"^27.1.0","editorconfig":"^0.15.3","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.4.0","eslint-plugin-prettier":"^3.4.1","jest":"^27.1.0","jsdoc":"^3.6.7","prettier":"^2.3.0","rollup":"^2.56.3","rollup-plugin-eslint":"^7.0.0","rollup-plugin-terser":"^7.0.2","typescript":"^4.4.2"},"browserslist":"defaults","gitHead":"761742bb2fb6c95c46482d38412680bef82a5fa7","_id":"@aidenlx/jsonurl@1.0.1-SNAPSHOT","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"integrity":"sha512-ntQzL38czvqIt5ztILPTALDb4pzAIOtHnsBFqayAgKgO1hOOzsDGUAcgWfFqrbO/au7gT9AhPWpMs5QksYJvdg==","shasum":"2cbde7d0c3039c93ed1e0e50884c843de7ee20ac","tarball":"https://registry.npmjs.org/@aidenlx/jsonurl/-/jsonurl-1.0.1-SNAPSHOT.tgz","fileCount":10,"unpackedSize":208110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQMIaCRA9TVsSAnZWagAAZOoP/1P6Vom6MVHSUYlfdcQV\nlmIlchi2qYJQMcoingYdd6F4sxswSNidjabBknQIYiAnDtyZugniytkTHlXG\nlLZKFAyzQbDy5d8W9vh4T6AJMaPxq0YPocCiVy+pgIuMqCCa5QJD4HPrLR/2\nNexK2w4ZGPU2u0/oalT9diz0GUyScyGTtXRVZTZ1F3rzzc+fHm4F9gyLVUqr\nAJSjD8aSnAjQLZHLKbvZ2N0aOeJWOpACUaSwUt/tclUpHY0Ed/V9aazIlW16\nqryNj+7ro5LOw7/JVuMlwMpJnPXKJIvxvRBRR5TDb4zykw8qsc9L6J80vDik\nH4kCIDnA9LXev1zU952tPgqWkjX4N1BbRO+AtOZgPeJ9iul9RjTbOwAQ6qdR\nPaX/ysVWQAYPmd041J45/+zC5PziiWIOi7gHR8QGje7R2J2r1on8zNVmntsQ\nLHwIoIVstibhgM92CJljziYAdv8JvUqFNFrw6xEmtn+8ubNvp8dN4TtPZ8+n\njFjQtnxWc0oyDfir2gMGY9ivPLho9N0YAJGUq7XApncHfgq69EjTfFPKwM77\nDx5netiur6AcHb1GXWUvDyYERFElu1COfGFvd3HksJzamk2s9xf22cYohC9H\nUIT7V4nE/+pxdaqceLWd+Q39oQ5kEPmtOo+4xFdBIyQoS16+H6Bh3h/7s7KK\nZN15\r\n=adKS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBrKlAag+0GIgCw5q059I6WZVB1LrQi8tMdHkSvyC3HhAiATnjIU/U9h1+w1FAIqH8uGgOwKPgBNFFsFyQP1+dQ1nw=="}]},"_npmUser":{"name":"aidenlx","email":"aiden.lx@outlook.com"},"directories":{},"maintainers":[{"name":"aidenlx","email":"aiden.lx@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsonurl_1.0.1-SNAPSHOT_1631633946475_0.9369758190331703"},"_hasShrinkwrap":false},"1.0.2-SNAPSHOT":{"name":"@aidenlx/jsonurl","version":"1.0.2-SNAPSHOT","publishConfig":{"access":"public"},"description":"JSON->URL defines a text format for the JSON data model suitable for use within a URL/URI (as described by RFC3986).","main":"dist/jsonurl.common.js","browser":"dist/jsonurl.common.js","moduleName":"JsonURL","types":"./jsonurl.d.ts","scripts":{"build":"rollup -c","test":"jest","lint":"env DEBUG=eslint:cli-engine eslint .","jsdoc":"jsdoc -c jsdoc.config.js -a public"},"repository":{"type":"git","url":"git+https://github.com/jsonurl/jsonurl-js.git"},"keywords":["JSON->URL","json","url","uri"],"author":{"name":"David MacCormack"},"license":"MIT","bugs":{"url":"https://github.com/jsonurl/jsonurl-js/issues"},"homepage":"https://www.jsonurl.org/","peerDependencies":{},"devDependencies":{"@babel/cli":"^7.15.4","@babel/core":"^7.15.5","@babel/preset-env":"^7.15.4","@rollup/plugin-babel":"^5.3.0","babel-jest":"^27.1.0","editorconfig":"^0.15.3","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jest":"^24.4.0","eslint-plugin-prettier":"^3.4.1","jest":"^27.1.0","jsdoc":"^3.6.7","prettier":"^2.3.0","rollup":"^2.56.3","rollup-plugin-eslint":"^7.0.0","rollup-plugin-terser":"^7.0.2","typescript":"^4.4.2"},"browserslist":"defaults","gitHead":"1d1c9290b9bcf766c612a0608bd5dfc7ed410621","_id":"@aidenlx/jsonurl@1.0.2-SNAPSHOT","_nodeVersion":"16.9.1","_npmVersion":"7.21.1","dist":{"integrity":"sha512-zFSxBrysuLosG/1R7W2JTth+8RE0SfOSs8CVBtqcX5jUPibZJysBgEeEtEnxF3ZOeftMyq1m6WGNh403aWaEhA==","shasum":"b87b47ee08804d1555a7451e68819ace7c1c5fb4","tarball":"https://registry.npmjs.org/@aidenlx/jsonurl/-/jsonurl-1.0.2-SNAPSHOT.tgz","fileCount":10,"unpackedSize":208299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxId5CRA9TVsSAnZWagAAPuAP/1IVRMD73gwzlqFQOwl1\nEdCphVfLaYWQISTLQhgaXCZFfUWYMb/S1aYuK7JLRY/zWH8475XzdJaVQ5oh\nyl7k9MX8rJfHxh5eceMD1BuNeC/xH00YXSXUDhSbshcP2KpyaNgSwSG0EzFx\nWU0rJgdgI4V86hw0hlkcfz1oJaNdGs+wPH8/X+FULLzAZ7IxhPkoFC820RBh\nsMcYfZe7nvrnI8mbRBVRvtOKTIkHGJ5yGA90Dfuc4XLxwGbjTxWGJuHZ9xAg\nIYaSYXLVd3Hfi6+cih0gz4Z9S1HNdBEr22IlAroU/S0yt4q+cC+tISOHpOVp\nZkvyHhLd5D2Wlt+JJkkMe+kysrhoDWxKd0RfGI7FmGsrPo49I24v4vCwZFWw\nYKrJBflGFCZ/7Vlmd2LJYLdwm57TOHrZ/AGNk4RFUuISN/7NuzlK2Qz8KVn5\nZQH7yvdeyplVSxTaZwnp+15qyPZDl34IDBUpKZ2WaPKyb6WATPV/m9sjt4ja\niB22kL2k5dWyFMDW3ivugzhb/IL6NC5hxkVjOhvndYudr7gv3Br8rDE8M1pd\nrardA5743WqRMZUl/2SI2NSPjJXqrpwTZls00/iFTbywTVoVKup+gSM9Xcud\nvYxDHt1IEjkiWxqUq6Eon4YwNW5dg4D68Qie7Jeo4SpYTuK/NYALPZq3Kmfx\nNI8t\r\n=VOY9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnCf3A3Q7Ry1e+24JE+cXCV63lVvkxfQJcC9mBoPt0swIhAJQmlXoj+Bu5fiVQuQurv26mV+utLi1HqOGQRPm8aMNm"}]},"_npmUser":{"name":"aidenlx","email":"aiden.lx@outlook.com"},"directories":{},"maintainers":[{"name":"aidenlx","email":"aiden.lx@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jsonurl_1.0.2-SNAPSHOT_1631953530983_0.023002508179352343"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-14T15:34:58.849Z","1.0.0-SNAPSHOT":"2021-09-14T15:34:59.067Z","modified":"2022-04-04T12:16:43.249Z","1.0.1-SNAPSHOT":"2021-09-14T15:39:06.632Z","1.0.2-SNAPSHOT":"2021-09-18T08:25:31.117Z"},"maintainers":[{"name":"aidenlx","email":"aiden.lx@outlook.com"}],"description":"JSON->URL defines a text format for the JSON data model suitable for use within a URL/URI (as described by RFC3986).","homepage":"https://www.jsonurl.org/","keywords":["JSON->URL","json","url","uri"],"repository":{"type":"git","url":"git+https://github.com/jsonurl/jsonurl-js.git"},"author":{"name":"David MacCormack"},"bugs":{"url":"https://github.com/jsonurl/jsonurl-js/issues"},"license":"MIT","readme":"# JSON→URL\n\n[![License: MIT](https://img.shields.io/github/license/jsonurl/jsonurl-js.svg?label=License)][license]\n[![NPM version](https://img.shields.io/npm/v/@jsonurl/jsonurl.svg)](https://www.npmjs.com/package/@jsonurl/jsonurl)\n[![CI](https://github.com/jsonurl/jsonurl-js/workflows/ci/badge.svg?branch=main)](https://github.com/jsonurl/jsonurl-js/actions/workflows/ci.yml)\n[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=jsonurl-js\\&metric=alert_status)](https://sonarcloud.io/dashboard?id=jsonurl-js)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=jsonurl-js\\&metric=coverage)](https://sonarcloud.io/dashboard?id=jsonurl-js)\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=jsonurl-js\\&metric=ncloc)](https://sonarcloud.io/dashboard?id=jsonurl-js)\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=jsonurl-js\\&metric=security_rating)](https://sonarcloud.io/dashboard?id=jsonurl-js)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=jsonurl-js\\&metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=jsonurl-js)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=jsonurl-js\\&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=jsonurl-js)\n[![Known Vulnerabilities](https://snyk.io/test/github/jsonurl/jsonurl-js/badge.svg?targetFile=package.json)](https://snyk.io/test/github/jsonurl/jsonurl-js?targetFile=package.json)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fjsonurl%2Fjsonurl-js.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fjsonurl%2Fjsonurl-js?ref=badge_shield)\n[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-green)](CONTRIBUTING.md)\n[![project chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://jsonurl.zulipchat.com/)\n\n## About\n\n[RFC8259][RFC8259] describes the JSON data model and interchange format, which is widely\nused in application-level protocols including RESTful APIs. It is common for\napplications to request resources via the HTTP POST method, with JSON entities.\nHowever, POST is suboptimal for requests which do not modify a resource's\nstate. JSON→URL defines a text format for the JSON data model suitable\nfor use within a [URL][RFC1738]/[URI][RFC3986].\n\n## Usage\n\nJSON→URL is available as a commonjs module (suitable for use in Node), ES6\nmodule, or a script that may be used directly in a browser.\n\n### NPM install\n\n```sh\nnpm install @jsonurl/jsonurl --save\n```\n\n### CJS\n\n```js\nconst JsonURL = require(\"@jsonurl/jsonurl\");\n```\n\n### ES6 (Node + Babel)\n\n```js\nimport JsonURL from \"@jsonurl/jsonurl\";\n```\n\n### Browser script tag\n\n```html\n<script\n    src=\"https://cdn.jsdelivr.net/npm/@jsonurl/jsonurl@1.1.5\"\n    integrity=\"sha512-PgDMK2pu/5iHU+sUvfCWIKugVg2NLSN1jmQJyJKbQw1MZAMvrU7XX3fPv4FJXgGBxTCsDnjhMmlZK5pzgPndTQ==\"\n    crossorigin=\"anonymous\"></script>\n```\n\n### The JavaScript API\n\nOnce included, the API is the same for all three.\n\n[![RunKit: Hello, World!](https://img.shields.io/badge/RunKit-Hello%2C%20World!-ff69b4)][runkit1]\n\n```js\nlet value = JsonURL.parse( \"(Hello:World!)\" );\nlet string = JsonURL.stringify( value );\n```\n\nIf you intend to use JSON→URL inside a browser's address bar then you'll want to\nenable the AQF (address bar query string friendly) syntax.\n\n[![RunKit: Hello, Browser Address Bar!](https://img.shields.io/badge/RunKit-Hello%2C%20Address%20Bar!-ff69b4)][runkit2]\n\n```js\nlet value = JsonURL.parse( \"(Hello:Address Bar!!)\",  { AQF: true });\nlet string = JsonURL.stringify( value,  { AQF: true } );\n```\n\nThere are additional options available, but that's all you need to get started.\n\nJSON→URL has no runtime dependencies.\n\n## Security\n\nThe parser is designed to parse untrusted input. It supports limits on\nthe number of parsed values and depth of nested arrays or objects.\nWhen the limit is exceeded an Error is thrown, and reasonable limit values are\nset by default.\n\n[RFC8259]: https://tools.ietf.org/html/rfc8259\n\n[RFC3986]: https://tools.ietf.org/html/rfc3986\n\n[RFC1738]: https://tools.ietf.org/html/rfc1738\n\n[license]: https://opensource.org/licenses/MIT\n\n[runkit1]: https://runkit.com/jsonurl/hello-world\n\n[runkit2]: https://runkit.com/jsonurl/hello-aqf\n\n## License\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fjsonurl%2Fjsonurl-js.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fjsonurl%2Fjsonurl-js?ref=badge_large)\n","readmeFilename":"README.md"}