conf
listr
Our great sponsors
conf | listr | |
---|---|---|
4 | 5 | |
1,175 | 3,248 | |
- | - | |
5.1 | 0.0 | |
13 days ago | over 1 year ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
conf
-
Social engineering campaign targeting tech employees spreads through NPM malware
Wow. There is even one package to not use a JavaScript object: https://www.npmjs.com/package/conf
-
Rob Pike: “Dotfiles” being hidden is a UNIXv2 mistake (2012)
info on XDG: [the XDG spec](https://standards.freedesktop.org/basedir-spec/basedir-spec-...)
tools that respect XDG, for fellow JS CLI developers:
- https://github.com/davidtheclark/cosmiconfig Find and load configuration from a package.json property, rc file, or CommonJS module. [Check `searchPaths` to implement XDG spec compliance.](https://github.com/davidtheclark/cosmiconfig/issues/152)
- Sindre's libraries use [`env-paths`](https://github.com/sindresorhus/env-paths#pathsconfig) to get paths compliant with this.
- https://github.com/sindresorhus/conf simple config storing (maybe try [conf-cli](https://github.com/natzcam/conf-cli) to manipulate if needed) the successor to [configstore](https://github.com/sindresorhus/conf#how-is-this-different-f...)
- https://github.com/jonschlinkert/data-store conf like datastore but in the shclinkerverse
-
Building a CLI tool using node - An Ultimate Beginners guide 🚀
Now, we implement history feature through which we can view the lastly created password through the -h or --history flag. For this purpose we use conf package. But first, let's create the flag feature. We use process.argvfor this purpose, process.argv is an inbuilt API used to get the arguments passed via command line like -h. We will slice it to remove the first two indexes of it to get relevant data only.
-
How to Build a Command Line Interface (CLI) Application with Node.JS👨🎓🤓.
conf:This package allows us to save persistent information on the user’s machine. We will be using it to save the user’s todo list
listr
-
'File -> New Project...'
I’m gonna make a console based application, asking user to make some choices, kicking off some async tasks, giving feedback etc. I’ve found inquirer and listr for handling part of this.
- Создаем React-компоненты иконок с помощью Figma API и SVGR. Часть 1.
-
タスク (tasuku) — The minimal task runner for Node.js
Major shoutout to listr + listr2 for being the motivation and visual inspiration for Tasuku, and for being my go-to task runner for a long time. I made Tasuku because I eventually found that they were too structured and declarative for my needs.
-
A Guide to CLIs with Node.js
Remember the IF ELSEIF we had setup for arguments? Let's add a --help argument that lists out all the commands. Lists are a very important part of CLIs. I'm using a helpful package listr to handle these lists. Let's add the following code into our file in the place where we have our IF checks.
What are some alternatives?
Commander.js - node.js command-line interfaces made easy
DraftLog - 📜 Create mutable log lines into the terminal, and give life to your logs!
listr2 - NodeJS Task List derived from the best! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.
cli-table3 - Pretty unicode tables for the command line
Bit - A build system for development of composable software.
Cliffy - NodeJS Framework for Interactive CLIs
ora - Elegant terminal spinner
cli-truncate - Truncate a string to a specific width in the terminal
execa - Process execution for humans