log-rockets
v1.0.4
Published
logs the name and description of SpaceX rockets
Downloads
6
Readme
Workflow 2 Module Assignment 3
Log Rockets
General Info
Log Rockets makes a request using the Apollo client and the SpaceX API and then loops through the list and logs each title and description of the rockets.
Installation
To install package run:
npm install log-rockets
Setup
To use in project, import to a JavaScript file and call log-rockets like this:
import logRockets from "log-rockets"
logRockets();
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"
]