diff --git a/graphql/examples/node/README.md b/graphql/examples/node/README.md new file mode 100644 index 00000000..075c5388 --- /dev/null +++ b/graphql/examples/node/README.md @@ -0,0 +1,10 @@ +# Node examples + +## `pokemon.js` + +Fetches info about Staryu using `node-fetch`. + +```sh +npm i +node pokemon.js +``` diff --git a/graphql/examples/node/package-lock.json b/graphql/examples/node/package-lock.json new file mode 100644 index 00000000..ff4a6872 --- /dev/null +++ b/graphql/examples/node/package-lock.json @@ -0,0 +1,13 @@ +{ + "name": "examples", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" + } + } +}