npm i node-simipro
## How to Use 🔭
async function talk() { const res = await simi.simitalk (“bro what hepen?”, “bn”); console.log (res) }
async function teach() { const res = await simi.simiteach (“bro what hepen?”, “ntg hepen bruh!”, “bn”); console.log (res) }
talk () teach ()
* CommonJS
```js
const simi = require('node-simipro');
async function talk() {
const res = await simi.simitalk ("bro what hepen?", "bn");
console.log (res)
}
async function teach() {
const res = await simi.simiteach ("bro what hepen?", "ntg hepen bruh!", "bn");
console.log (res)
}
talk ()
teach ()
function talk() { simi.simitalk (“bro what hepen?”, “bn”).then((response) => { console.log(response); }); }
function teach() { simi.simiteach (“bro what hepen?”, “ntg hepen bruh!”, “bn”).then((response) => { console.log(response); }); }
talk () teach ()
* CommonJS
```js
const simitalk = require('node-simipro');
function talk() {
simi.simitalk ("bro what hepen?", "bn").then((response) => {
console.log(response);
});
}
function teach() {
simi.simiteach ("bro what hepen?", "ntg hepen bruh!", "bn").then((response) => {
console.log(response);
});
}
talk ()
teach ()
{
"success":true,
"message":"bye",
"isUnknownResponse":false
}
{
"success": true,
"message": "You taught the answer to \"hi\".\nNumber of answers: 99+"
}