0.1.0 • Published 5 years ago

quotist v0.1.0

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

Quotist

Get a random quote right inside your CLI.

Table of contents

Demo

Quotist

Install

$ npm install --save quotist

Usage

const quotist = require('quotist')

console.log(quotist.all)
console.log(quotist.random())

API

.all

Returns: array

A list of all quotes.

.random()

Returns: string

A random quote. (i.e. “I ain't got time to bleed.”)

CLI

$ npm install --global quotist
$ quotist --help

  Get a random quote right inside your CLI.

  Usage:
    quotist [<options>]

  Options:
    --help   Print usage
    --all    List all quotes

  Examples:
    $ quotist
    $ quotist --all

Browser

<!DOCTYPE html>
<html>
  <head>
    <!-- replace [version] with actual version (i.e. 1.1.15) -->
    <script src="https://unpkg.com/quotist@[version]/dist/quotist.umd.min.js"></script>
  </head>

  <body>
    <script>
      // the umd file exposes the global `quotist`.
      console.log(quotist.all);
    </script>
  </body>
</html>

Support this project

I open-source almost everything I can, and I try to reply everyone needing help using these projects. Obviously, this takes time. You can use these projects in your applications for free! You can even change the source code and redistribute (even resell it).

If you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:

  • Starring and sharing the project
  • Donate—make one-time donations via PayPal.
  • Donate—set up monthly donation via Patreon and get interesting news about what I'm doing.
  • —send bitcoins or ethereum to this address: 19jHGagJWeVvuNjN3kaBoAszXd9ea9gKzp.

Thank you!

Code of Conduct

Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

License

MIT © Alex Devero.

0.1.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago