{"name":"@graphql-inspector/core","version":"0.0.0-canary.7db8980","keywords":["graphql","graphql-inspector","tools"],"author":{"url":"https://github.com/kamilkisiela","name":"Kamil Kisiela","email":"kamil.kisiela@gmail.com"},"license":"MIT","_id":"@graphql-inspector/core@0.0.0-canary.7db8980","maintainers":[{"name":"n1ru4l","email":"laurinquast@googlemail.com"},{"name":"kamilkisiela","email":"kamil.kisiela@gmail.com"},{"name":"ardatan","email":"ardatanrikulu@gmail.com"}],"homepage":"https://github.com/kamilkisiela/graphql-inspector#readme","bugs":{"url":"https://github.com/kamilkisiela/graphql-inspector/issues"},"dist":{"shasum":"7ad363bf3404f001c13bb2fefc0a15a596f905c1","tarball":"http://registry-npm.ywwl.com/@graphql-inspector/core/download/@graphql-inspector/core-0.0.0-canary.7db8980.tgz","fileCount":51,"integrity":"sha512-PDCEVUruULBTfFGfqNT18q8mijyT1WNb8VOdeRWoMDltmfB0Qoza4WVv9iRvSGbvtooW6oVB88b4ZAdZqP2NhA==","signatures":[{"sig":"MEUCIQCws+8JXG4aiN1+QRorbDaGFuSi0I6H63VSps8/YhO4iAIgcVRmiRaNbzL0M535MRsDdMV5YsIJKIiNyQGyTD4GDg4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":188966,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEf4mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp5TA//b3y3rzrxbG1hX/e1UhNl97OECapnIM8fKjwD8P1VlkCWV5GY\r\nnE/agj8L0USehOcD/HRS9CxIK2lBudrxtBYoDxpk28TqJxhzvwINcdVteUhn\r\nQqU76a9iR5bAWmVh0udxjHrcK6wwwuKLJ5/wVBJ1lJ4pSlzmeMY4vZB7+YMg\r\ngGqanXF3BUOVQqEnUFbF84mGk6YdDNdxDJjwS079IRD3K0X9un9+GjU+nFef\r\nIDGsK06AuvneIztsxVS171P1QbKl4C2h32lg5k8evrlfmdSw8g5NVekvlS2p\r\nFm9gaij0koMyMWha5nBPY9TLews2mFiW4x0krd8UXkKxAtM1lu7l7JbrNdxQ\r\nHgJ3MMW413fiUOb5iMF63Yb9/slkKkzotn9wK4KbEEmxcSxj/NL+bJzJXWbH\r\npMRGHEscfxuOG1Kdp3okRuBzcvozJhbhxf3Aq/lUXL4OGRv1dwhtvUwscN1B\r\nvpYFf71w7h6MwNvU3OYmNGPal8P+VeSKhfwzmTtFOrk34EeiydYcRaYtjmHX\r\nLWdqGHgxiCbuxbrqoMQb76S8Yo9jYykWFjlehs8DMkZYmiMzscNFXGXg6Pgu\r\nyIw9Oha575ezezCPc5+jkqBRsRK1c15E37wBy1Zye/BbzgsSEff5RRW9aVN0\r\nbcp3zl+pUeT+xcU3ZTv4T6G/dxpMCKyGPOc=\r\n=HXBw\r\n-----END PGP SIGNATURE-----\r\n","size":33254,"noattachment":false,"key":"/@graphql-inspector/core/-/@graphql-inspector/core-0.0.0-canary.7db8980.tgz"},"main":"index.js","module":"index.mjs","readme":"# GraphQL Inspector\n\n[![CircleCI](https://circleci.com/gh/kamilkisiela/graphql-inspector.svg?style=shield&circle-token=d1cd06aba321ee2b7bf8bd2041104643639463b0)](https://circleci.com/gh/kamilkisiela/graphql-inspector)\n[![npm version](https://badge.fury.io/js/@graphql-inspector/core.svg)](https://npmjs.com/package/@graphql-inspector/core)\n\n**GraphQL Inspector** ouputs a list of changes between two GraphQL schemas. Every change is precisely explained and\nmarked as breaking, non-breaking or dangerous. It helps you validate documents and fragments against a schema and even\nfind similar or duplicated types.\n\n## Features\n\nMajor features:\n\n- **Compares schemas**\n- **Finds breaking or dangerous changes**\n- **Validates documents against a schema**\n- **Finds similar / duplicated types**\n- **Schema coverage based on documents**\n- **Serves a GraphQL server with faked data and GraphQL Playground**\n\nGraphQL Inspector has a **CLI** and also a **programatic API**, so you can use it however you want to and even build\ntools on top of it.\n\n## Installation\n\n```bash\nyarn add @graphql-inspector/core\n```\n\n## Examples\n\n```typescript\nimport {\n  diff,\n  validate,\n  similar,\n  coverage,\n  Change,\n  InvalidDocument,\n  SimilarMap,\n  SchemaCoverage\n} from '@graphql-inspector/core'\n\n// diff\nconst changes: Change[] = diff(schemaA, schemaB)\n// validate\nconst invalid: InvalidDocument[] = validate(documentsGlob, schema)\n// similar\nconst similar: SimilarMap = similar(schema, typename, threshold)\n// coverage\nconst schemaCoverage: SchemaCoverage = coverage(schema, documents)\n// ...\n```\n\n## License\n\n[MIT](https://github.com/kamilkisiela/graphql-inspector/blob/master/LICENSE) © Kamil Kisiela\n","exports":{".":{"import":"./index.mjs","require":"./index.js"},"./*":{"import":"./*.mjs","require":"./*.js"}},"gitHead":"db16a49f3cecafa0e7e95b4111be2bdc2c39f4a7","typings":"index.d.ts","_npmUser":{"name":"n1ru4l","email":"laurinquast@googlemail.com"},"repository":{"url":"git+https://github.com/kamilkisiela/graphql-inspector.git","type":"git","directory":"packages/core"},"typescript":{"definition":"index.d.ts"},"_npmVersion":"8.15.0","description":"Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","dependencies":{"tslib":"^2.0.0","object-inspect":"1.10.3","dependency-graph":"0.11.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.0.0-canary.7db8980_1662123558293_0.5581852308181348","host":"s3://npm-registry-packages"},"publish_time":1662123558483,"_cnpm_publish_time":1662123558483,"dist-tags":{"alpha":"8.1.0-alpha-20261020140028-567a62ef284e608d7b71bb1141fcd33f6f804e55","canary":"0.0.0-canary.7db8980","experimental":"0.0.0-experimental.5431780","latest":"8.0.1","next":"2.0.0-rc.2"}}