{"_id":"@apollo/utils.printwithreducedwhitespace","_rev":"2908427","name":"@apollo/utils.printwithreducedwhitespace","description":"Print an AST with as little whitespace as possible","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"glasser","email":"glasser@apollographql.com"}],"time":{"modified":"2023-01-13T06:24:24.000Z","created":"2022-02-16T01:57:08.389Z","2.0.0":"2022-11-18T17:12:27.986Z","1.1.0":"2022-04-26T17:48:43.291Z","1.0.0":"2022-02-16T01:57:08.389Z"},"users":{},"author":{"name":"Apollo","email":"packages@apollographql.com"},"repository":{"type":"git","url":"git+https://github.com/apollographql/apollo-utils.git","directory":"packages/printWithReducedWhitespace/"},"versions":{"2.0.0":{"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":{"shasum":"d6734624b3395c60c4536f48c827b5ad0d03abbb","size":3260,"noattachment":false,"key":"/@apollo/utils.printwithreducedwhitespace/-/@apollo/utils.printwithreducedwhitespace-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@apollo/utils.printwithreducedwhitespace/download/@apollo/utils.printwithreducedwhitespace-2.0.0.tgz"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"glasser","email":"glasser@apollographql.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils.printwithreducedwhitespace_2.0.0_1668791547818_0.13718137080610315"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-18T17:13:53.031Z","publish_time":1668791547986,"_cnpm_publish_time":1668791547986},"1.1.0":{"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":{"shasum":"c466299a4766eef8577a2a64c8f27712e8bd7e30","size":3039,"noattachment":false,"key":"/@apollo/utils.printwithreducedwhitespace/-/@apollo/utils.printwithreducedwhitespace-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@apollo/utils.printwithreducedwhitespace/download/@apollo/utils.printwithreducedwhitespace-1.1.0.tgz"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"glasser","email":"glasser@apollographql.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils.printwithreducedwhitespace_1.1.0_1650995323152_0.49018851522830387"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-26T17:55:34.925Z","publish_time":1650995323291,"_cnpm_publish_time":1650995323291},"1.0.0":{"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":{"shasum":"e1efdb587914aae395eface03afae58866df2fe3","size":3041,"noattachment":false,"key":"/@apollo/utils.printwithreducedwhitespace/-/@apollo/utils.printwithreducedwhitespace-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@apollo/utils.printwithreducedwhitespace/download/@apollo/utils.printwithreducedwhitespace-1.0.0.tgz"},"_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"directories":{},"maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"glasser","email":"glasser@apollographql.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/utils.printwithreducedwhitespace_1.0.0_1644976628214_0.28624039867381"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-16T01:57:22.641Z","publish_time":1644976628389,"_cnpm_publish_time":1644976628389}},"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","_attachments":{},"homepage":"https://github.com/apollographql/apollo-utils#readme","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"license":"MIT"}