From 0aeb612603ddf2319d8a1c796700bc7d809487b2 Mon Sep 17 00:00:00 2001 From: anseki Date: Thu, 3 Nov 2022 12:49:54 +0900 Subject: [PATCH] Add information about async running. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 30d3f31..1650bc6 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![npm](https://img.shields.io/npm/v/readline-sync.svg)](https://www.npmjs.com/package/readline-sync) [![GitHub issues](https://img.shields.io/github/issues/anseki/readline-sync.svg)](https://github.com/anseki/readline-sync/issues) [![dependencies](https://img.shields.io/badge/dependencies-No%20dependency-brightgreen.svg)](package.json) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) +**Now, ECMAScript supports `Promise`, `await` and `async`.** + Synchronous [Readline](http://nodejs.org/api/readline.html) for interactively running to have a conversation with the user via a console(TTY). readlineSync tries to let your script have a conversation with the user via a console, even when the input/output stream is redirected like `your-script bar.log`.