quiver-quest-quoter

1.0.4 • Public • Published

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.

Package Sidebar

Install

npm i quiver-quest-quoter

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

3.48 kB

Total Files

5

Last publish

Collaborators

  • cayaindes