node-quotegen
v0.0.2
Published
The quote generator Node.js package is a module that can be used to generate random quotes in a Node.js application. The package may include a collection of pre-defined quotes.
Downloads
10
Maintainers
Readme
📚 Quotegen
Quotegen is a Node.js package that provides an easy way to fetch quotes. You can get a random quote or a quote from a specific category.
🚀 Installation
You can install Quotegen using npm:
npm install node-quotegen
💻 Usage
const { getQuote } = require("node-quotegen");
// Get a random quote
const quote = getQuote();
console.log(quote);
// Get a quote from a specific category
const quoteFromCategory = getQuote("motivational");
console.log(quoteFromCategory);
📝 Categories
- Attitude
- Coding
- Nature
- Success
- Friendship
- Inspirational
- Funny
- Technology
- Motivational
Features 🚀
- Generates random quotes
- Provides quotes by specific category
- Supports multiple categories
- Lightweight and easy to use
📖 License
This project is licensed under the MIT License - see the LICENSE file for details.
🤝 Contributing
If you would like to contribute to this project, please feel free to submit a pull request or open an issue on the GitHub repository.