1.0.1 • Published 3 years ago

log-titles v1.0.1

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

Workflow 2 Module Assignment 3

Log Post Titles

Link to npm package

General Info

Log post titles makes a request using the Apollo client and the GraphQLZero fake GraphQL API and then loops through the posts made by user with id 5 and logs each title.

Installation

To install package run:

npm install log-titles

Setup

To use in project, import to a JavaScript file and call log-titles like this:

import logTitles from "log-titles"

logTitles();

Note

Use a bundler such as Parcel or Webpack to import the package like this.

You will also need to add this code to your package.json file:

"browserslist": [
    "last 1 Chrome version"
]