conf
node-cli-template
Our great sponsors
conf | node-cli-template | |
---|---|---|
4 | 3 | |
1,186 | 6 | |
- | - | |
5.1 | 0.0 | |
about 1 month ago | over 2 years 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
node-cli-template
-
Year in Review 2021 - Google DSC, Microsoft LSA, Accrue Inc πΈπ₯
During my automation journey, I automated many small tasks and made small tools like jpg-to-docx converter, email-sender, create-react-app clone, etc., for practice purposes. I also made plenty of open-source contributions to such tools. Many people started asking me how to do automation and create such tools, so I decided to write the whole procedure in the form of an article and also create a template for this purpose. You can check out both Article(Building CLI tool using Node) and Template(Node CLI Template).
-
Building a CLI tool using node - An Ultimate Beginners guide π
Congratulations, you learned how to create a CLI tool using Node.js ππ. The sky is the limit, go create something awesome. I also created an open-source template so you don't need to start everything from scratch. github.com/MeerHamza1421/node-cli-template
What are some alternatives?
DraftLog - π Create mutable log lines into the terminal, and give life to your logs!
mongo-express-node-template - This template is designed to help kick start Node.js applications that would use MongoDB as a database and Passport.js as an authentication middleware.
listr - Terminal task list
node-ethernet-ip - A Lightweight Ethernet/IP API written to interface with Rockwell ControlLogix/CompactLogix Controllers.
Bit - A build system for development of composable software.
clipboardy - Access the system clipboard (copy/paste)
Commander.js - node.js command-line interfaces made easy
greenpress - Start here: npm install & npm start
cli-truncate - Truncate a string to a specific width in the terminal
oclif - CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.
terminal-image - Display images in the terminal
Ink - π React for interactive command-line apps