{"name":"@apollo/utils.printwithreducedwhitespace","version":"2.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":"packages/printWithReducedWhitespace/"},"keywords":["apollo","graphql","typescript","node"],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","engines":{"node":">=14"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x"},"gitHead":"a81b88047ea1213c08fec8530e6ab9c30d03ce59","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"homepage":"https://github.com/apollographql/apollo-utils#readme","_id":"@apollo/utils.printwithreducedwhitespace@2.0.0","_nodeVersion":"16.18.0","_npmVersion":"8.5.0","dist":{"integrity":"sha512-S+wyxFyuO0LJ8v+mg8c7rRwyKZ+9xlO5wXD/UgaysH3rcCe9NBHRWx/9cmdZ9nTqgKC5X01uHZ6Gsi6pOrUGgw==","shasum":"d6734624b3395c60c4536f48c827b5ad0d03abbb","tarball":"http://registry-npm.ywwl.com/@apollo/utils.printwithreducedwhitespace/download/@apollo/utils.printwithreducedwhitespace-2.0.0.tgz","fileCount":10,"unpackedSize":6810,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEyVkwa9P4K3DKvePgHpCTiyoMeK8JX2shpge/M9hCutAiAVFB1nMbC+tsf4h2LIW06OP9Ivl9EzJVVjjFhAsdkxwA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjd7z8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9JRAAheZoOj0c1pG1chOrWkNT4Zqre7Q0FqzpCEr//zhjmcAo+pRz\r\nUfRuGByUY7Dctvxb9q+6yKPYf8yNwdcsE+w0cZ6JPKxTLlEhfX0qGM5qLFOe\r\nzCeJRowhGUqwPgxpjeYebyXYxavg3AZr1zHCzjcmx9YA+QNs9g0+ph9riVTT\r\n8RqNTNGHPy93Pj2gRqkDxv4c9roIiwJckEm40dOAk34itFGtNzCWFn7Lx1gA\r\n0MHBmUvQFvoXP9ejMfCBM4JvGppgz/AL/0QKFGHhMTfzCCy1SJaBLFHA59+9\r\ntVWM5UMNIAE4oY1rAe4g1X2+7BS+Csn1x2oZD4xc09w8/IJRQOs92VJz6c1f\r\n+dP1yJijuqRWmcgUOs0ysHBuoH1Pu/BKp1a9+2z0Z/nJjhglROangPKIqBYa\r\nMPL6MUtE9OYDb6eskxa1EG7LQJLC/qrlXfA4SZh4cmggr7c+8NXvrazzvoYP\r\njmKowcok3bDW5M0AC5lKL1TWmKxzG5G2XxvEXuBKE4qjkvcpZb+q0xn/42Od\r\nDIQujhfBz71LgyhTvfNUyMw7slWJZcB5QGqWpZKaJF1IzDBG1m4N8Ufi2ZLI\r\n0XfxtGdbuEiVboGXvPKWMk/PzWo5ozQaFYx/9SQ7oDP8GLEnL3v6I8I5z4FE\r\nXjesHr/pjdzd98gx/DHSZZypYiVrybjL0LI=\r\n=YCCV\r\n-----END PGP SIGNATURE-----\r\n","size":3260,"noattachment":false,"key":"/@apollo/utils.printwithreducedwhitespace/-/@apollo/utils.printwithreducedwhitespace-2.0.0.tgz"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"maintainers":[{"name":"glasser","email":"glasser@apollographql.com"},{"name":"trevor.scheer","email":"trevor.scheer@gmail.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils.printwithreducedwhitespace_2.0.0_1668791547818_0.13718137080610315"},"_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":1668791547986,"_cnpm_publish_time":1668791547986,"dist-tags":{"latest":"3.1.0"}}