0.0.3 • Published 1 month ago

inspiro v0.0.3

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
1 month ago

Inspiro

Inspiro is a Node.js library for generating random quotes along with their authors and categories.

Installation

You can install the package via npm:

npm install inspiro

Usage

After installing the package, you can use it in your Node.js project by requiring it:

const Inspiro = require('inspiro');

const inspiro = new Inspiro();

// Get a random quote
const randomQuote = inspiro.getRandomQuote();
console.log(randomQuote);

// Get a random quote by author
const randomQuoteByAuthor = inspiro.getRandomQuoteByAuthor('Winston Churchill');
console.log(randomQuoteByAuthor);

// Get a random quote by category
const randomQuoteByCategory = inspiro.getRandomQuoteByCategory('Success');
console.log(randomQuoteByCategory);

More documentation can be found here.

Contributing

Contributions are welcome! If you would like to contribute to this project, please follow the steps below:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature-name)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature-name)
  5. Create a new Pull Request

By contributing to this project, you agree to license your contributions under the terms of the GNU General Public License v3.0 (GPL-3.0). You may review the full license here.

License

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).

0.0.3

1 month ago

0.0.2

1 month ago

0.0.1

1 month ago