Node.js 命令行用户界面 Inquirer.js

码农软件 · 软件分类 · Node.js 扩展 · 2019-04-14 12:44:46

软件介绍

Inquirer 是常规交互式命令行用户接口的集合,提供给 Node.js 一个方便嵌入,漂亮的命令行接口。

Inquirer 会简化询问终端用户问题,解析,验证答案,提供错误反馈等等功能。

安装:

npm install inquirer
var inquirer = require("inquirer");
inquirer.prompt([/* Pass your questions in here */], function( answers ) {
    // Use user feedback for... whatever!! 
});

示例:

node examples/pizza.js
node examples/checkbox.js
# etc...

本文地址:https://codercto.com/soft/d/3559.html

Nine Algorithms That Changed the Future

Nine Algorithms That Changed the Future

John MacCormick / Princeton University Press / 2011-12-27 / GBP 19.95

Every day, we use our computers to perform remarkable feats. A simple web search picks out a handful of relevant needles from the world's biggest haystack: the billions of pages on the World Wide Web.......一起来看看 《Nine Algorithms That Changed the Future》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具