From 15ac1d7d810fbad69daf9dfec554f441f3a8763c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Olivera?= Date: Mon, 19 Nov 2018 19:42:14 -0300 Subject: [PATCH] Add installation to README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 668e62d..cf16d3e 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,12 @@ When an error occurs when processing GraphQL queries, [graphql-js](https://githu The `graphql-errors` module fixes this issue by **masking error messages sent to the client**. This module intercepts GraphQL error messages and replaces them with `"Internal error"` and a UUID. It also logs the error on the server with the stacktrace and it's UUID, making user bug reports easy to cross-reference. +## Installation + +``` +npm i --save graphql-errors +``` + ## Usage ``` javascript