dibo-fetch

1.1.2 • Public • Published

Dibo Fetch

Dibo Fetch Logo

Fetch answers with Dibo, created by Muh. Deni Setiawan

Overview

Dibo Fetch is a command-line tool that allows you to fetch answers from the Dibo platform. It provides a simple and convenient way to interact with the Dibo API.

Features

  • Easy to Use: Simply ask a question, and Dibo Fetch will fetch the answer for you.
  • Colorful Output: Enjoy a visually appealing terminal output with colorful messages.
  • Loading Animation: Experience a cool loading animation while waiting for the answer.

Installation

Make sure you have Node.js installed.

npm install -g dibo-fetch 

Usage

  • For CLI:
dibo <Your Question>
  • For Require:
const dibo = require('dibo-fetch');

async function exampleDibo() {
    try {
        const reply = await dibo("Apa kabar hari ini?");
        console.log('Jawaban dari Dibo:', reply);
    } catch (error) {
        console.error(chalk.red('Gagal mengambil jawaban dari Dibo:', error.message));
    }
}

exampleDibo();

Example CLI

Dibo Fetch Example

Package Sidebar

Install

npm i dibo-fetch

Weekly Downloads

1

Version

1.1.2

License

ISC

Unpacked Size

6.63 kB

Total Files

6

Last publish

Collaborators

  • muhdenisetiawan