graphiql-launcher

1.0.4 • Public • Published

Graphiql Launcher

Global module to easly launch the Graphiql IDE against a parametric endpoint

Install

npm install -g graphiql-launcher

Usage

graphiql-launcher http://awesome.endpoint.com/graphql

Example:

graphiql-launcher https://api.github.com/graphql --token 1234567891234567891324567891234567891345

Options

The following optional parameters are available

--port <port number>

Set the browser client port (default is 8080)

--token <bearer token>

Fill the Authorization header of each graphql request with the specified bearer token.

--proxy

Bypass cors policy by executing each request through the node process

--proxy-port <port number>

Set the proxy port used to bypass the cors policy

Readme

Keywords

none

Package Sidebar

Install

npm i graphiql-launcher

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

5.79 kB

Total Files

5

Last publish

Collaborators

  • emanuele.longo