0.0.2 • Published 6 years ago
everysecond v0.0.2
everysecond
A simple and fun package to see what goes on every second.
Installation
npm i --save everysecondUsage
Option 1:
Output all the data together with this option
const { All } = require("everysecond"); //require the package
All().then(data => {
console.log(data) //outputs all the data
})Option 2:
Output the McDonalds data only with this option
const { McDonalds } = require("everysecond"); //require the package
McDonalds().then(data => {
console.log(data) //outputs the McDonalds data only
})Option 3:
Output the Uber data only with this option
const { Uber } = require("everysecond"); //require the package
Uber().then(data => {
console.log(data) //outputs the Uber data only
})Option 4:
Output the Instagram data only with this option
const { Instagram } = require("everysecond"); //require the package
Instagram().then(data => {
console.log(data) //outputs the Instagram data only
})Option 5:
Output the Earth data only with this option
const { Earth } = require("everysecond"); //require the package
Earth().then(data => {
console.log(data) //outputs the Earth data only
})