log-titles

1.0.1 • Public • Published

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"
]

Readme

Keywords

none

Package Sidebar

Install

npm i log-titles

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

3.19 kB

Total Files

5

Last publish

Collaborators

  • marty_