How to use the apollo-env.createHash function in apollo-env

To help you get started, we’ve selected a few apollo-env examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apollographql / apollo-tooling / packages / apollo-graphql / src / operationId.ts View on Github external
export function operationHash(operation: string): string {
  return createHash("sha256")
    .update(operation)
    .digest("hex");
}

apollo-env

MIT
Latest version published 3 years ago

Package Health Score

67 / 100
Full package analysis

Similar packages