quiver-quest-quoter
v1.0.4
Published
A lightweight library for fetching and displaying inspirational quotes.
Downloads
9
Maintainers
Readme
Quiver Quest Quoter
Quiver Quest Quoter is a minimalistic library designed to fetch and display inspirational quotes. It utilizes a simple caching mechanism to optimize response times and reduce API call frequency.
Installation
Use npm to install Quiver Quest Quoter:
npm install quiver-quest-quoter
Usage
To start the service, ensure you have Node.js installed and run:
node index.js
Make a GET request to /quote
to fetch a random inspirational quote:
curl http://localhost:3000/quote
Dependencies
- axios: For making HTTP requests.
- dotenv: To manage environment variables.
- express: To create the server.
- node-cache: For caching the quotes.
- cors: To enable CORS.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
This project is licensed under the MIT License.