2.0.2-3 • Published 2 years ago

@nbn23/graphql-request v2.0.2-3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

GraphQL request

GraphQL request is a tiny utility to make simple GraphQL calls. This tool is responsible for managing authentication to secured calls based on Google JWT.

Getting Started

Install graphQL request using npm.

npm install --save @nbn23/graphql-request

Note: GraphQL request assumes a TypeScript environment but it can be use in vanilla javascript.

Usage

const request = await GraphQLRequest.init(audience);

const { test } = await request.call<"test", boolean>({
  url,
  query,
  variables
});
1.1.1

2 years ago

2.0.2-3

2 years ago

1.1.0

2 years ago

2.0.2-2

2 years ago

2.0.2-1

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago