How to use the graphql-tag/package.json.version function in graphql-tag

To help you get started, we’ve selected a few graphql-tag 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 electron-userland / electron-compilers / src / js / graphql.js View on Github external
getCompilerVersion() {
    return require('graphql-tag/package.json').version;
  }
}

graphql-tag

A JavaScript template literal tag that parses GraphQL queries

MIT
Latest version published 2 years ago

Package Health Score

82 / 100
Full package analysis

Similar packages