{"_id":"dereference-json-schema","_rev":"3-fc35586b5e46b675fdec02280cbaa574","name":"dereference-json-schema","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.1":{"name":"dereference-json-schema","version":"0.0.1","description":"Dereference $ref pointers in JSONSchema or OpenAPI documents.","main":"index.js","types":"index.d.ts","scripts":{"test":"jest","build":"swc src/ --ignore src/**/*.test.ts -d .","types":"tsc --declaration --emitDeclarationOnly src/index.ts --outDir .","prepublishOnly":"npm run build && npm run types","prettier":"prettier --write \"**/*.{ts,json,md}\"","lint":"prettier --check \"**/*.{ts,json,md}\""},"repository":{"type":"git","url":"git+https://github.com/anttiviljami/dereference-json-schema.git"},"keywords":["dereference","json-schema","openapi","swagger"],"author":{"name":"Viljami Kuosmanen","email":"viljami@viljami.io"},"license":"MIT","bugs":{"url":"https://github.com/anttiviljami/dereference-json-schema/issues"},"homepage":"https://github.com/anttiviljami/dereference-json-schema#readme","devDependencies":{"@swc/cli":"^0.1.61","@swc/core":"^1.3.35","@swc/jest":"^0.2.24","@types/jest":"^29.4.0","@types/json-schema":"^7.0.11","jest":"^29.4.2","prettier":"^2.8.4","ts-node":"^10.9.1","typescript":"^4.9.5"},"gitHead":"cdc6f033cb8c30a206f3e8b52f4e90ccb979e731","_id":"dereference-json-schema@0.0.1","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-4dtkzSG+jP5W0kdS/Vy5c4/X6I+2qkV3njA/DseOx9Ht6RKrG2NltKF9SAP2PTdCAIKr/h7oIMgQLvI0Mkbc9Q==","shasum":"0992049ae3c9c9433ddaffdc257a56463a2e3fac","tarball":"https://registry.npmjs.org/dereference-json-schema/-/dereference-json-schema-0.0.1.tgz","fileCount":11,"unpackedSize":12031,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFrorQwNuFREaAqrvdGW0zgN3MEvMJ5w+MpDmnMRyMuYAiEA2cVnCs/FHXFvc1UKP2Uq1Kba5PdEwvcKVoXtbm0Xb5A="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj546WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRNhAAn9QZlRXmcbNhIQqQM8UVEVyimMNzGGQW5tLTH9AXy6+E1JuP\r\n1nUAOA6gAeJli+oDybMdlWLRSY6K01zFOjrQ5oME210+h+z8ALUUqQmHw+FY\r\ni80ggTElEFsrd36heriRI4cGLIGKrLXzd9i1o517DQCgNMDrm2pgGUUTHgfM\r\n+GqE5QiOdfOWeJ2yzdAAqolP80PJ65bgIJJ38MaxcfOw8r0cyztMmbu7v8Fj\r\nJUhTyOK5DWA5FAaZpfVYcTBjydrrkLlDNhKC95CR4bqiacG2KWAGVz6f0nYH\r\nqI+AX8ZbQqJpUz2jXCZJ/JjwfCmOonoKkrKJEcIbQdKcAUkVly2iH6VjISls\r\neL2q9Y/cK0rLxtoir42dHqM1eRk5i+Xqy0WTkqAQvkMg/vfQvBfug3wvVpug\r\n3eLTgc3iUUKq5i1hfDXYEAVpaKk1+TLy8viTtSWX1+nrdAsPrKsv927fAMa2\r\nIBlACw0YzLrBWdtFbHufWMHilyaZqoMduucBDBHUpqyQbpEPipHhJggwDNue\r\njvPaJ6Q0YvMmbvlzh4c/1ohDC7MlXZZ3cXK6W+0Bd//N8y7YzrZX5P8YClB3\r\noaDKBUWau1OrGMX8NxJAvnO/KSSuzSThE6JsmSKlmDibv1XkAa+9yPclCOcW\r\ncGtMIhhoTnpV7TAWoxoM9/+bPtgOxKA+tFs=\r\n=QTMg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anttiviljami","email":"viljami@avoinsorsa.fi"},"directories":{},"maintainers":[{"name":"anttiviljami","email":"viljami@avoinsorsa.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dereference-json-schema_0.0.1_1676119702508_0.10778778084292417"},"_hasShrinkwrap":false},"0.1.1":{"name":"dereference-json-schema","version":"0.1.1","description":"Dereference $ref pointers in JSONSchema or OpenAPI documents.","main":"index.js","types":"index.d.ts","scripts":{"test":"jest","build":"swc src/ -d . --config-file .swcrc","types":"tsc --declaration --outDir . src/index.ts","prepublishOnly":"npm run build && npm run types -- --emitDeclarationOnly","prettier":"prettier --write \"**/*.{ts,json,md}\"","lint":"prettier --check \"**/*.{ts,json,md}\""},"repository":{"type":"git","url":"git+https://github.com/anttiviljami/dereference-json-schema.git"},"keywords":["dereference","json-schema","openapi","swagger"],"author":{"name":"Viljami Kuosmanen","email":"viljami@viljami.io"},"license":"MIT","bugs":{"url":"https://github.com/anttiviljami/dereference-json-schema/issues"},"homepage":"https://github.com/anttiviljami/dereference-json-schema#readme","devDependencies":{"@swc/cli":"^0.1.61","@swc/core":"^1.3.35","@swc/jest":"^0.2.24","@types/jest":"^29.4.0","@types/json-schema":"^7.0.11","jest":"^29.4.2","prettier":"^2.8.4","ts-node":"^10.9.1","typescript":"^4.9.5"},"gitHead":"e6bb5ddc4a91475041d23fffedb2006ef1b490a5","_id":"dereference-json-schema@0.1.1","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-9QyWMZJ65fWds1LeLl+4hzMMuEbRRZntyj/KArUMaUGR59nt9yJ0RBxxgtcGqRs2TJhM0QMw3mGOanUhfXPdAg==","shasum":"ff9d127573edc258825aecaad3306747829af679","tarball":"https://registry.npmjs.org/dereference-json-schema/-/dereference-json-schema-0.1.1.tgz","fileCount":11,"unpackedSize":12857,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAJrSvVEDg2cBaYNeNqnZ1bXmkzimEW5sbcPZNq1e1nDAiEA5x6n5S4hsG39KsEmGNKflAlQeXLRMfbrojhtwMCu/WM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj55SeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpLiw/+NZk0G4MJaw6uAOJvmngTqxsfdO1vtStdiX8rVIGG6Q5RtG8M\r\nahPGoob9Kgwu2JUKV0PRRXC3y5osm10wOMWuYaCJKpUBDwaX2EP1v9hPrHe4\r\nAWBPRT+otfaYduGQN4LINnWIoyarYsmw8zY/Zq0AXWP6ulncQk0WOHDTXSSz\r\nKQV6wpEDsQ6evkA6N2N/KDKoexEeI4BdR3kg3PI0M2FZl0uH0nNNRs5uEXnz\r\ntrxqbE2uyabCtK+acgFEytAmCgezhU4yhgmtdRcms7A8bvxxvWTZGGhP6AgK\r\nCkAXiksYCNHNKK9Pyqlm9o0edDZvj2syc8yeTyC2FpulKok3rtQARQ2WUTPo\r\nXWcbCQlIHMydJsEqOf7BMJEDzXpmwpsll1fvh5Wmd0HZPDGwVO49j0+lXBYX\r\n6XdPp+CcKs5etKcmyTDT5U5YCbYFzMs0cv69JMgeK4B4zcxoxwINB8bdwxEv\r\nOoHJ/+r9EpOa5UT/ZbjxoXjmDR26XW8PMw3ZonJaDBuCQPHsIrVxWwxuwNgL\r\ni7z5YzmpH4nJmdxp+x25eRi7NmWoISNJ5j1jrve2wbc96XnJrEzmWisJOUtT\r\nCajqaTgpwgkxYNKGpLM3sp3A/PGi0pbtZ1LEHedz0F298uT4iutVIiqxLn0c\r\nOvRu8UDBXF3LgJxtR4Hqk+wNHahG5waM30g=\r\n=Xsmk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anttiviljami","email":"viljami@avoinsorsa.fi"},"directories":{},"maintainers":[{"name":"anttiviljami","email":"viljami@avoinsorsa.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dereference-json-schema_0.1.1_1676121245789_0.5196667883719619"},"_hasShrinkwrap":false},"0.2.0":{"name":"dereference-json-schema","version":"0.2.0","description":"Dereference $ref pointers in JSONSchema or OpenAPI documents.","main":"index.js","types":"index.d.ts","scripts":{"test":"jest","build":"swc src/ -d . --config-file .swcrc","types":"tsc --declaration --outDir . src/index.ts","prepublishOnly":"npm run build && npm run types -- --emitDeclarationOnly","prettier":"prettier --write \"**/*.{ts,json,md}\"","lint":"prettier --check \"**/*.{ts,json,md}\"","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/anttiviljami/dereference-json-schema.git"},"keywords":["dereference","json-schema","openapi","swagger"],"author":{"name":"Viljami Kuosmanen","email":"viljami@viljami.io"},"license":"MIT","bugs":{"url":"https://github.com/anttiviljami/dereference-json-schema/issues"},"homepage":"https://github.com/anttiviljami/dereference-json-schema#readme","devDependencies":{"@swc/cli":"^0.1.61","@swc/core":"^1.3.35","@swc/jest":"^0.2.24","@types/jest":"^29.4.0","@types/json-schema":"^7.0.11","husky":"^8.0.0","jest":"^29.4.2","prettier":"^2.8.4","pretty-quick":"^3.1.3","ts-node":"^10.9.1","typescript":"^4.9.5"},"gitHead":"0d93e5498597445c7974a4a72731801c547a4d99","_id":"dereference-json-schema@0.2.0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-TBOpVarHWUOOzengFDUehuhhWld+nyHwYdJ4Ed/oY82tOFbMP070p05nIfPafJiV+Ur8rIAFdUdFBv0ngDyO/Q==","shasum":"c81202f47b5b5fb8905aa2fb9c232c203d773333","tarball":"https://registry.npmjs.org/dereference-json-schema/-/dereference-json-schema-0.2.0.tgz","fileCount":11,"unpackedSize":9834,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb1yQ77AIOJmTPvE4vwgsq6E2VIJoMlhJMG2LwIxdrFgIhAMHN2JCqZmspPb8DTJxY/d6vQaZzF94kVWaNwy2ZooGG"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6MrPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoahg/+J8i4WpAc0la2t5/djwThh/r8KXi9e9aWxU1fbXjem6RBt8PZ\r\n9cYS6mJGytKDi5ArL9qL1vHlbOmZJbbcrR8Bt9tgD9+8ceBc62J0XvWyFueP\r\nRGr8WzKwIlpBGNuiBq6VSgpTjQ2WwBJWYHnzaa1yNQojJqigVvIKkAGGdOxB\r\no7xctdqC5ZNqJFVIhnyjc8u+nQMaN4YAhuiFwbEd7jnBJdjnrph1ikAXqgxs\r\nC6tnY57H5YmBwu2nE4Tx4tJiP6jQj9bH57AUmk6/6sXQ2moylAYO7O47GkDB\r\naII29FfAdpokx5WGQu6eE7EoC17nS7B0gVVVX1Kjzy8cLqqho/9z5jZ5Xe0P\r\nkRX9OJGaFge58qFn/ql2TqHREpWnPlN/r59GzHt7wLOraLJe+rLYkwNi3JI2\r\ne3udLe7T630K0lsbZbXS/8DmCgGj0P59j0uhRSDNAcvQPyVp36NQ1Iyi4DHu\r\ntCqby3JWRpB9dfCzuDMR6ytiQYUQqrq8vCN65h3WIo+91IYPej3lukwiMkRF\r\nRE6A+c4MdCNbSkPbrezp0E+HjUC88GAZsFKgXvlROXiYobQb/r9nUWbvVUr1\r\nrVYy2TWGLFT5O8UZcdhW+I9s5PTH7iCyNMCPmN3i+6rnAJJKadGnv9faKL8K\r\n8NIG4gqUqVrMP06BOJXBEUPTTDeU6UbuA8k=\r\n=5yTe\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anttiviljami","email":"viljami@avoinsorsa.fi"},"directories":{},"maintainers":[{"name":"anttiviljami","email":"viljami@avoinsorsa.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dereference-json-schema_0.2.0_1676200655388_0.06886536584883007"},"_hasShrinkwrap":false},"0.2.1":{"name":"dereference-json-schema","version":"0.2.1","description":"Dereference $ref pointers in JSONSchema or OpenAPI documents.","main":"index.js","types":"index.d.ts","scripts":{"test":"jest","build":"swc src/ -d . --config-file .swcrc","types":"tsc --declaration --outDir . src/index.ts","prepublishOnly":"npm run build && npm run types -- --emitDeclarationOnly","prettier":"prettier --write \"**/*.{ts,json,md}\"","lint":"prettier --check \"**/*.{ts,json,md}\"","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/anttiviljami/dereference-json-schema.git"},"keywords":["dereference","json-schema","openapi","swagger"],"author":{"name":"Viljami Kuosmanen","email":"viljami@viljami.io"},"license":"MIT","bugs":{"url":"https://github.com/anttiviljami/dereference-json-schema/issues"},"homepage":"https://github.com/anttiviljami/dereference-json-schema#readme","devDependencies":{"@swc/cli":"^0.1.61","@swc/core":"^1.3.35","@swc/jest":"^0.2.24","@types/jest":"^29.4.0","@types/json-schema":"^7.0.11","husky":"^8.0.0","jest":"^29.4.2","prettier":"^2.8.4","pretty-quick":"^3.1.3","ts-node":"^10.9.1","typescript":"^4.9.5"},"gitHead":"b9b9838d9c2ca60cc5d1b1b76a72fddc960f694e","_id":"dereference-json-schema@0.2.1","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-uzJsrg225owJyRQ8FNTPHIuBOdSzIZlHhss9u6W8mp7jJldHqGuLv9cULagP/E26QVJDnjtG8U7Dw139mM1ydA==","shasum":"fcad3c98e0116f7124b0989d39d947fa318cae09","tarball":"https://registry.npmjs.org/dereference-json-schema/-/dereference-json-schema-0.2.1.tgz","fileCount":13,"unpackedSize":10372,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGkBYmhQwIZG0J0dm+C7uZc7EVxUaXIjig6rAvaL6w9tAiAJe1NCg0WQwU7T5HwVhpXYmiiYvtEbYNO1t4K/JqG33Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6NBAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoFXg//aC9xS9Hq+YvyjXJw8t9OZoGrl1MpWfL/WQ6xhgD8dRLvVmd2\r\n8dcJbc0QnZxlBKVyms4d9SDsxcCZnaOaNCuK8xm7ZIwE6OpL5apMhSI4lq0l\r\nBXKWWmA/DvXGZYdH7gWN4wIblJdrHnGaui9SkSZ2zQ/4P8c1Hhfk8lFOKlxC\r\nVEAzpmUBxD1OXNnlb58AI5C8CjuIdCJkT8H9V3a7zRIR9z59M6Xai180l7d/\r\nSkkjtPgXtF8XsrBNJMBvg0ZfxF7H5mzSmvfk+ZGgowEFp3+sUOGDmOkgvNW5\r\nNoddXuvLQ8AYuNUXlEb0llTPzsIh7XLRUxVdnDIwEesmhEz4eK83M29Uwx21\r\nv0OOs9uQ/S/ktiJ6T71aKh7rfe9fK7l49RfbxjqHYnPtX1zkZGrJkaRpj+ER\r\nBfQr8SWtzZnk3Oo4A970MAwYL+4IIi0vyW3pAPQl2CDn8I8qLazXZZZJvOFY\r\nvbjll428zW9LMJ2qoI7JkRwSYYlXtao7VbbuflysboNKLOMnn2FS1il7p3Wa\r\n0cYNWe6mDu+/pgKBMkDpCtaJDeMhn1h1Hy0PONPZiOM5W8BIC/L2BX477As1\r\nJ1Gvm0pDMDOVU/lbc8psMJ7VJkGtcasaVw2ugW2LOyqgrPnN3MWsWRZbMSJy\r\nWu95OfZbQSUmZGlN5yphKHDJsfgkcjGys28=\r\n=CvT1\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anttiviljami","email":"viljami@avoinsorsa.fi"},"directories":{},"maintainers":[{"name":"anttiviljami","email":"viljami@avoinsorsa.fi"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dereference-json-schema_0.2.1_1676202048783_0.24324524632767663"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-11T12:48:22.507Z","0.0.1":"2023-02-11T12:48:22.700Z","modified":"2023-02-12T11:40:49.048Z","0.1.1":"2023-02-11T13:14:05.976Z","0.2.0":"2023-02-12T11:17:35.573Z","0.2.1":"2023-02-12T11:40:48.928Z"},"maintainers":[{"name":"anttiviljami","email":"viljami@avoinsorsa.fi"}],"description":"Dereference $ref pointers in JSONSchema or OpenAPI documents.","homepage":"https://github.com/anttiviljami/dereference-json-schema#readme","keywords":["dereference","json-schema","openapi","swagger"],"repository":{"type":"git","url":"git+https://github.com/anttiviljami/dereference-json-schema.git"},"author":{"name":"Viljami Kuosmanen","email":"viljami@viljami.io"},"bugs":{"url":"https://github.com/anttiviljami/dereference-json-schema/issues"},"license":"MIT","readme":"# dereference-json-schema\n\n[![CI](https://github.com/anttiviljami/dereference-json-schema/workflows/CI/badge.svg)](https://github.com/anttiviljami/dereference-json-schema/actions?query=workflow%3ACI)\n[![npm version](https://img.shields.io/npm/v/dereference-json-schema.svg)](https://www.npmjs.com/package/dereference-json-schema)\n[![npm downloads](https://img.shields.io/npm/dw/dereference-json-schema)](https://www.npmjs.com/package/dereference-json-schema)\n[![bundle size](https://img.shields.io/bundlephobia/minzip/dereference-json-schema?label=gzip%20bundle)](https://bundlephobia.com/package/dereference-json-schema)\n[![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/anttiviljami/dereference-json-schema/blob/master/LICENSE)\n[![Buy me a coffee](https://img.shields.io/badge/donate-buy%20me%20a%20coffee-orange)](https://buymeacoff.ee/anttiviljami)\n\nDereference $ref pointers in JSONSchema or OpenAPI documents.\n\nZero dependencies. Synchronous core. Handles circular refs.\n\n## Usage\n\n```\nnpm i dereference-json-schema\n```\n\n```js\nimport { dereferenceSync } from 'dereference-json-schema';\n\nconst schemaWithRefs = {\n schemas: {\n Person: {\n type: 'object',\n properties: {\n name: {\n $ref: '#/schemas/Name',\n },\n },\n },\n Name: {\n type: 'string',\n },\n },\n};\n\nconst schemaWithNoRefs = dereferenceSync(schemaWithRefs);\n```\n\n## Contributing\n\ndereference-json-schema is Free and Open Source Software. Issues and pull requests are more than welcome!\n","readmeFilename":"README.md"}