@apollo/utils.printwithreducedwhitespace
Print an AST with as little whitespace as possible
Last updated 21 days ago by GitHub Actions .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @apollo/utils.printwithreducedwhitespace 
SYNC missed versions from official npm registry.

printWithReducedWhitespace

Prints a GraphQL AST with a minimal amount of whitespace. Consider using the stripIgnoredCharacters function from graphql instead of this function.

Usage

import { printWithReducedWhitespace } from "@apollo/utils.operationregistrysignature";

const signature = operationRegistrySignature(
  parse(`#graphql
    query Foo {
      bar
    }
  `),
  "Foo",
  { preserveStringAndNumericLiterals: true },
);

Current Tags

  • 3.1.0                                ...           latest (21 days ago)

6 Versions

  • 3.1.0                                ...           21 days ago
  • 3.0.0                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Downloads
Total 18
Today 0
This Week 0
This Month 13
Last Day 0
Last Week 3
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE