2023-02-26 01:30

This commit is contained in:
2023-02-26 01:30:37 +09:00
commit 9a13ccbd17
122 changed files with 32148 additions and 0 deletions

12
console-io/console-io.js Normal file
View File

@@ -0,0 +1,12 @@
const readline = require('readline').createInterface({
input: process.stdin,
output: process.stdout
});
readline.question('What do you think of Node.js? ', (answer) => {
// TODO: Log the answer in a database
console.log(`Thank you for your valuable feedback: ${answer}`);
readline.close();
});

11
console-io/package.json Normal file
View File

@@ -0,0 +1,11 @@
{
"name": "console-io",
"version": "1.0.0",
"description": "",
"main": "console-io.js",
"scripts": {
"exec": "node console-io.js"
},
"author": "",
"license": "ISC"
}