express-graphql-token
Make graphiql send token from header 'Authorization' or pass json string to set header
usage:
let app = // ...app// ...
It will add a input element to graphiql html.
If token is a json string, it will set each key headers[key] = jsonValue, or will set headers['Authorization'] = token