Socket
Socket
Sign inDemoInstall

kote-api

Package Overview
Dependencies
41
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kote-api

Easily fetch quote of the day from BrainyQuotes and Eduro.


Version published
Weekly downloads
6
increased by20%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

kote-api Build Status

Easily fetch quote of the day from BrainyQuotes and Eduro.

Install

$ npm install --save kote-api

Usage

'use strict';

const kote = require('kote-api');

kote.eduro().then(user => {
  console.log(user);
  // => { quote: 'Don’t cry because it’s over, smile because it happened.' }
});

kote.brainyQuote().then(quote => {
  console.log(quote);
  // { quote: 'Hope is but the dream of those wake.' }
});

// or

kote.brainyQuote('nature').then(quote => {
  console.log(quote);
  // { quote: A good garden may have some weeds. }
});

API

  • kote.brainyQuote()

  • kote.brainyQuote(opts)

opts

  • love
  • nature
  • art
  • funny

Typeof

opts : string

  • kote.eduro()
  • Kote : Daily injection of wisdom, fun and love through command line

License

MIT © Rishi Giri

Keywords

FAQs

Last updated on 16 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc