A templating language that looks like Lisp and compiles to HTML
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

repl.js 277B

1234567891011121314151617
  1. const readline = require('readline')
  2. async function repl() {
  3. let output
  4. const rl = readline.createInterface({
  5. input: process.stdin,
  6. output: process.stdout,
  7. })
  8. rl.question('hello? ', line => {
  9. console.log(`you said ${line}`)
  10. rl.close()
  11. })
  12. }
  13. repl()