{"name":"@graphql-inspector/core","version":"0.0.0-canary.6f0f272","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.6f0f272","maintainers":[{"name":"kamilkisiela","email":"kamil.kisiela@gmail.com"}],"homepage":"https://github.com/kamilkisiela/graphql-inspector#readme","bugs":{"url":"https://github.com/kamilkisiela/graphql-inspector/issues"},"dist":{"shasum":"cca40486d0fffcbd0e2cf1351872369713ad3aa5","tarball":"http://registry-npm.ywwl.com/@graphql-inspector/core/download/@graphql-inspector/core-0.0.0-canary.6f0f272.tgz","fileCount":45,"integrity":"sha512-J6PJvnk+hRrCYo2d4V7E11kwQnqwhXKp7Deo9BsGd8CAlAOHesX4vVR7VK/7qguQRPBf2CAmQc7fozxwBTgBtw==","signatures":[{"sig":"MEQCID/O3wo28BR/sQcWFcnWc/F4Ls6SVwIIxe706WziZDFgAiB8Y4oj9GLqXVN8UHawZa3YDTzofRjoQQqtGEtJxDk97g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":439603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezRbYCRA9TVsSAnZWagAAk4MQAJUR8Y5hWP/Wy3PH9uJR\nKLiHUvE60wCV0Bloc0DaD14H/MzfwpsxKtq8+de8XZ/DhIt9DXAcQ80RLJv5\n8hXHAVfwaBASth2TPiktcD4qvj7NBomzfPt35jAsk9H+rQ3uVsmnM3I2zzyL\nCq8Oq7TKIonRDoeu3Xv9vtHaZ0TYJj0cuB7kh4TFMQfONHijviY1mGIiRs3N\n4NeTCEqfJrmu/0aqXbMY5DDAJ2X7WsiKwA+ol2IDJWCixMgOC4MA+uSRahMK\nmQitknPVUzU4qcNCTV87nG6n+2o8vNyi5kyzNNwvEfPMzu/rBNG+VPsxY9zq\n0vQQGc8Au4r6Amfwzhtvmv5d0kaTdkNdBsFQrPwNnzzk/0TU3vNP36i/a/MX\n8N9fRRHujh7XsQQc7Od7HDA1k2ESEzAa2CQIUGwlLGWz+oIDqEXaAAjknurO\nDTvOaZ8eJRwTChEMlXVhoCHLytbLii4NBwKSgRS0xcwY2cXe+wP6W5EWx502\n87HhP3+oKeb4CP2SxngpOUC+w2cMfdhncCyHN0FQFMEdJ6WhcvpBg/i490it\nsyDk/NSYBdOerVX300K5WFyXEL+PJtFYDMvWut8l8dTe0lVPeB4mu4x/4lsf\nR1E+juHvbMzwy6zzeUfK7m4dP2gIQC1kEyHIVZr5u++vAUC9ZiGhUz7xOJZ2\n0doV\r\n=jZh2\r\n-----END PGP SIGNATURE-----\r\n","size":68316,"noattachment":false,"key":"/@graphql-inspector/core/-/@graphql-inspector/core-0.0.0-canary.6f0f272.tgz"},"main":"index.cjs.js","module":"index.esm.js","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 marked as breaking, non-breaking or dangerous.\nIt helps you validate documents and fragments against a schema and even find 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 tools 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","typings":"index.d.ts","_npmUser":{"name":"kamilkisiela","email":"kamil.kisiela@gmail.com"},"repository":{"url":"git+https://github.com/kamilkisiela/graphql-inspector.git","type":"git","directory":"packages/core"},"typescript":{"definition":"index.d.ts"},"_npmVersion":"6.13.4","description":"Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.","directories":{},"sideEffects":false,"_nodeVersion":"10.18.0","dependencies":{"tslib":"^2.0.0","dependency-graph":"0.9.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","peerDependencies":{"graphql":"^0.13.0 || ^14.0.0 || ^15.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.0.0-canary.6f0f272_1590499031803_0.8698573714461448","host":"s3://npm-registry-packages"},"publish_time":1590499032016,"_cnpm_publish_time":1590499032016,"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"}}