# nodejs强大的类库：控制台交互

* 抖音：<https://v.douyin.com/hcAFeYY/>
* B站：<https://www.bilibili.com/video/BV1LQ4y1U7ra/>

> Github：<https://github.com/SBoudrias/Inquirer.js>

输入密码

选择一个功能

然后选择用户

成功！那具体的用法也很简单

大家参考一下官方的文档就可以了

这个类库的名字就叫做这个

Inquirer.js 翻译过来就是

调查者的意思

另外呢基于这个类库

还有一些更强大的第三方的封装

比如这个，它还可以选时间

或者这个可以画出一个表格

然后用户在表格里做选择


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sunzsh.gitbook.io/xiaoshan.bug/nodejs-qiang-da-de-lei-ku-kong-zhi-tai-jiao-hu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
