1.0.3 • Published 3 years ago
cquestions v1.0.3
CQuestions
Ask a question in the console and handle the response in your script!
How to use CQuestions
Outside an async function
const question = require("cquestions");
question("How are you? ").then((answer) => console.log(answer));
// Will put the answer in the console once an answer is given
Inside an async function
const question = require("cquestions");
var answer = await question("How are you? ");
console.log(answer);
// Will put the answer in the console once an answer is given
Support
If you need help or if you have any questions, contact me on discord: TWIXGAMER#1372