Adding content for chalk and inquirer.js (#2248)

* Adding official docs and tutorials for Chalk and InquirerJS

* Update 102-inquirer.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
pull/2247/head^2
Platiplus 2 years ago committed by GitHub
parent a22029db0b
commit 55379e94ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      content/roadmaps/107-nodejs/content/106-nodejs-command-line-apps/101-printing-output/102-chalk.md
  2. 11
      content/roadmaps/107-nodejs/content/106-nodejs-command-line-apps/102-taking-input/102-inquirer.md

@ -1,6 +1,7 @@
# Chalk # Chalk
Chalk is used to style terminal strings. Chalk is a clean and focused library used to do string styling in your terminal applications. With it you can print different styled messages to your console like changing font colors, font boldness, font opacity and also the background of any message printed on your console.
<ResourceGroupTitle>Free Content</ResourceGroupTitle> <ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official GitHub Repository' href='https://github.com/chalk/chalk'>Chalk GitHub Repository</BadgeLink> <BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://github.com/chalk/chalk#readme'>Chalk Docs</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.positronx.io/style-command-line-output-with-chalk-library-in-node-js/'>Style Command Line Output with Chalk Package in Node.js</BadgeLink>

@ -1,9 +1,12 @@
# Inquirer # Inquirer
Inquirer.js is a collection of common interactive command line interfaces for taking inputs from user. It is promise based and supports chaining series of prompt questions together. Inquirer.js is a collection of common interactive command line interfaces for taking inputs from user.
It is promise based and supports chaining series of prompt questions together, receiving text input, checkboxes, lists of choices and much more.
<ResourceGroupTitle>Free Content</ResourceGroupTitle> You can use it to empower your terminal applications that need user input or to build your own CLI.
<BadgeLink colorScheme='blue' badgeText='Official Website' href='https://www.npmjs.com/package/inquirer'>Official Documentation</BadgeLink> <ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink badgeText='Watch' href='https://www.youtube.com/watch?v=0xjfkl9nODQ'>How to make a CLI in Node.js with Inquirer</BadgeLink> <BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://github.com/SBoudrias/Inquirer.js#readme'>Official Docs</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.digitalocean.com/community/tutorials/nodejs-interactive-command-line-prompts'>How To Create Interactive Command-line Prompts with Inquirer.js</BadgeLink> <BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.digitalocean.com/community/tutorials/nodejs-interactive-command-line-prompts'>How To Create Interactive Command-line Prompts with Inquirer.js</BadgeLink>
<BadgeLink badgeText='Watch' href='https://www.youtube.com/watch?v=0xjfkl9nODQ'>How to make a CLI in Node.js with Inquirer</BadgeLink>
<BadgeLink badgeText='Watch' href='https://egghead.io/lessons/node-js-create-an-interactive-node-js-command-line-tool-using-inquirer'>Create an Interactive Node.js Command Line Tool using Inquirer</BadgeLink>

Loading…
Cancel
Save