> For the complete documentation index, see [llms.txt](https://sunzsh.gitbook.io/xiaoshan.bug/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sunzsh.gitbook.io/xiaoshan.bug/nodejs-qiang-da-de-lei-ku-kong-zhi-tai-jiao-hu.md).

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

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

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

输入密码

选择一个功能

然后选择用户

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

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

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

Inquirer.js 翻译过来就是

调查者的意思

另外呢基于这个类库

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

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

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

然后用户在表格里做选择
