dibo-fetch
v1.1.2
Published
Fetch answers with Dibo, created by Muh. Deni Setiawan
Downloads
18
Maintainers
Readme
Dibo Fetch
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();