
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
@apollo/utils.printwithreducedwhitespace
Advanced tools
Print an AST with as little whitespace as possible
Prints a GraphQL AST with a minimal amount of whitespace. Consider using the
stripIgnoredCharacters
function from graphql
instead of this function.
import { printWithReducedWhitespace } from "@apollo/utils.operationregistrysignature";
const signature = operationRegistrySignature(
parse(`#graphql
query Foo {
bar
}
`),
"Foo",
{ preserveStringAndNumericLiterals: true },
);
FAQs
Print an AST with as little whitespace as possible
The npm package @apollo/utils.printwithreducedwhitespace receives a total of 1,472,417 weekly downloads. As such, @apollo/utils.printwithreducedwhitespace popularity was classified as popular.
We found that @apollo/utils.printwithreducedwhitespace demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.