{"name":"@apollo/utils.printwithreducedwhitespace","version":"1.0.0","description":"Print an AST with as little whitespace as possible","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-utils.git","directory":"printWithReducedWhitespace/"},"keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","engines":{"node":">=12.13.0 <18.0"},"publishConfig":{"access":"public"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x"},"gitHead":"c7bd6d038c208f804331dec36fcf1a7fcfcf8ad6","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"homepage":"https://github.com/apollographql/apollo-utils#readme","_id":"@apollo/utils.printwithreducedwhitespace@1.0.0","_nodeVersion":"16.13.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-YDq5xaMYJChVF0M3xYTYrEOPTI8eiUBOCYw5PcAA4+QEUlxEipbeZFxZd1GFZ5KZ1O+eR81J25Ch+ypeepGY3w==","shasum":"e1efdb587914aae395eface03afae58866df2fe3","tarball":"http://registry-npm.ywwl.com/@apollo/utils.printwithreducedwhitespace/download/@apollo/utils.printwithreducedwhitespace-1.0.0.tgz","fileCount":9,"unpackedSize":6438,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiDFn0CRA9TVsSAnZWagAA/kkP/3cgq/ZvNNVHdII1NrWJ\nMRz3heRBd8Zl97s93SulDTpNaR9wATCJOo4NwnPt4cA8sUzns+VEj78+iios\n4hj2msPTfILeqz1u3xFXvPU/vDA63BHfB5aFf0JKWpJwEfO6z4saYtRQYHLR\n43cGDlLjYN9G4lJJUjTgs+BK1LFlW81dI8Ta2xr4bYILzxOHgambnMuHt33z\nJ+Yvm3meDQ2MXmeHJSFor99wyf7eya8YF33FqAlag3sHkBIX7lKcZAPQCL/m\n+4SfK1N0SahqIvSlL1/AAirrBnK5jMfqi7d/RVVxdRvoPtXj5QNoJIBXQPfI\n4mbfwnSKDnVixKRQ7/C7bBQBW5DovB+wREnBZo+7h0t/JYr/M5lm/ri+rmCX\nDYU4pWawqBqwxGG+zOUH1u9ynXj8YQyn09ffAnR5IlKqqoksvy8GN3GZ4ygU\nVyNzjAqSG/xF0jsYulZ37EsMxIBusYnPAtqyh5jvc1l0MRc2xeCpViEqleRn\nVU6HzZbdc04LcgIugJXbGpxwyvXUMw7ubhC6WY2rZnUA1ueSDCDkPpYaT8RD\nUyp5wtHTp43QiUCOKyBy3AMRwynkMSfa7ycdSzAixr+F0+tvnjv+37sgosWK\nyTtinQLH3QuURSrwxIFV/Ir5+mqC3BqNsAFUSAQdUB+4RJOcHSfWB9d77mid\nNd3u\r\n=pCrd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7db04EhZw3IUaeqv3gSUKTi7hGlh4ng8gn+7FRHFLcgIgYCY7vOlK1ri1HraSUhyfpBd1D2FfraA9kGsdNj9B+qs="}],"size":3041,"noattachment":false,"key":"/@apollo/utils.printwithreducedwhitespace/-/@apollo/utils.printwithreducedwhitespace-1.0.0.tgz"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils.printwithreducedwhitespace_1.0.0_1644976628214_0.28624039867381"},"_hasShrinkwrap":false,"readme":"# printWithReducedWhitespace\n\nPrints a GraphQL AST with a minimal amount of whitespace. Consider using the\n[`stripIgnoredCharacters`](https://github.com/graphql/graphql-js/blob/e9a81f2ba9020ec5fd0f67f5553ccabe392e95e8/src/utilities/stripIgnoredCharacters.ts) function from `graphql` instead of this function.\n\n## Usage\n\n```ts\nimport { printWithReducedWhitespace } from \"@apollo/utils.operationregistrysignature\";\n\nconst signature = operationRegistrySignature(\n  parse(`#graphql\n    query Foo {\n      bar\n    }\n  `),\n  \"Foo\",\n  { preserveStringAndNumericLiterals: true },\n);\n```\n","publish_time":1644976628389,"_cnpm_publish_time":1644976628389,"dist-tags":{"latest":"3.1.0"}}