{"name":"@apollo/utils.printwithreducedwhitespace","version":"1.1.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"},"publishConfig":{"access":"public"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x"},"gitHead":"854df1b996deea0ed10871640f5289e53c9d390b","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"homepage":"https://github.com/apollographql/apollo-utils#readme","_id":"@apollo/utils.printwithreducedwhitespace@1.1.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-GfFSkAv3n1toDZ4V6u2d7L4xMwLA+lv+6hqXicMN9KELSJ9yy9RzuEXaX73c/Ry+GzRsBy/fdSUGayGqdHfT2Q==","shasum":"c466299a4766eef8577a2a64c8f27712e8bd7e30","tarball":"http://registry-npm.ywwl.com/@apollo/utils.printwithreducedwhitespace/download/@apollo/utils.printwithreducedwhitespace-1.1.0.tgz","fileCount":9,"unpackedSize":6432,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEd40I1l5RLnmA51FOwZRQqPPR80HbZpr833pxpvWb8VAiEA5trkP94sdqaqkSkTFZCjB7YpGYiQR+TnBGePfU2VEgg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiaDB7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrahA//cDl7nkXQNNPLEPh51hYcMpg5grOl4kItqN+MRLZNOLTn1O/l\r\nuKyIaP3d94WA0s11/SvtsyygQEFhUqdcz00hGrorMILujJjI1LQkpB6R4JwJ\r\nTvA7Q2yM3ZEjvszM3fyWZBVT0jkybSdkvUTq5KCIvNg+UquR1X1uxLI0RJEZ\r\ngYzAyVNNvjAjmPU6ILcqukAjpBXSm/tL9sLclhjf2ej6fT8eIU3uOXCDeQZB\r\nzsMcn1ei42UcYof+4B9zrWE8DsDoIISo/BrLgmhyuDN1jbDL4iFXa5POlnsb\r\nIemRDTi5lXlbxLICz365cu+h4e21E/pQAnURWBEZQspCLZITdI8EtWOlh3aF\r\n8BjdmNY8GwGocnmJn1W/Ci3i2VVU33LCF/IMofcMEVBKDlOZ74bmFP3xlHuz\r\nr58mBU99ixoCDbE/ENkbx9bCs66/0+/jJfj0oO4WqPO3bPH7CAPchjzdiRE+\r\nsAp5rlqqTlQvMDSdtT6UfCfkveyYSmxKI6FJullyxvEo8HEYTHLNbSTo+7xG\r\nMPf1gMEB/yLQ2bQtqgtr2fkAwXWUZ/XWlkg0tkH7yl7KirC7R6ClkwYBr0mx\r\nAlJlU2VSTpS8dxo8zVOPpCv6eiBIYzJuG4VzQ5TeB9ZXLMsH0bcAKZHkAAfp\r\nCHcN0oHHMD/P1blpkxSqVnH+cmARihA4wSU=\r\n=Gp8b\r\n-----END PGP SIGNATURE-----\r\n","size":3039,"noattachment":false,"key":"/@apollo/utils.printwithreducedwhitespace/-/@apollo/utils.printwithreducedwhitespace-1.1.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.1.0_1650995323152_0.49018851522830387"},"_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":1650995323291,"_cnpm_publish_time":1650995323291,"dist-tags":{"latest":"3.1.0"}}