enquirer
oclif
Our great sponsors
enquirer | oclif | |
---|---|---|
18 | 34 | |
7,468 | 8,757 | |
0.5% | 0.8% | |
4.9 | 9.4 | |
3 days ago | 7 days ago | |
JavaScript | TypeScript | |
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.
enquirer
-
For achieving the widest adoption among Windows users, which commonly used scripting language would be best suited for a CLI program?%
Although I'm happy there is a way to bundle Node.js apps with support for pnpm, and for a modern-ish version of Node.js, it's somewhat slow in my experience to build locally. Interactivity doesn't have the greatest ecosystem there, especially with TypeScript. Best library I've found is Enquirer.
-
💡 Generate package.json From GitHub
{ "name": "@jonschlinkert/omit-deep", "description": "Recursively omit specified keys from an object", "tags": ["object", "deep", "remove", "omit"], "version": "0.3.0", "author": "Jon Schlinkert (https://github.com/jonschlinkert)", "repository": "jonschlinkert/omit-deep", "bugs": "https://github.com/jonschlinkert/omit-deep/issues", "license": "MIT" }
-
Using generators to improve developer productivity
In case you need to ask for user input, optionally you can use a prompt file. This is very useful to customize the output of the generator. Prompts are defined using a library named Enquirer.
-
NPM Vulnerability Discussion on Twitter
> I don't fully understand why packages like this are so popular.
It actually works like this: Author X develops `iseven`, `isodd`, etc. No one really downloads such packages. Author X then develops `importantPackage` which does do something useful developers out here download. Now `iseven`, `isodd` are downloaded alongside `importantPackage`.
My point is, we should recognize certain NPM authors as toxic, but I guess "freedom of speech/code" stops us from doing so. Example of such an author: https://github.com/jonschlinkert/
-
Call for Deno module ideas
something like enquirer
-
I will pay you cash to delete your npm module
You're thinking of Jon Schlinkert, publisher of 1435 packages on npm.
-
NPM – is-even, 160k weekly downloads
https://github.com/jonschlinkert
Interesting, 845 repositories by the user, and the vast majority of them are simple NPM modules such as this one.
Has there been any recent instances of someone abusing simple NPM repos like this for malicious intent?
> From the github user's ("i-voted-for-trump") bio:
> EDIT - read some of the comments and there is some anger and confusion. Folks, this is a troll. Yes, npm and the JS ecosystem have some flaws, but let's not get bent out of shape.
It doesn't look like so. The author is definitely creating some confusion, but the readme of his professional Github's account (https://github.com/jonschlinkert) says:
> Several years ago I switched careers from sales, marketing and consulting to learn how to program, with the goal of making the world a better place through code. [...] To date, I've created more than 1,000 open source projects in an effort to reach my goal. Open source software takes a lot of time to create and maintain. You can help me to achieve my goals of changing the world through code, help me create better developer experiences, or just say thank you by sponsoring me on GitHub.
He's asking for real money; he's definitely not a troll.
He probably moved that repo away from his profile (https://github.com/jonschlinkert) to avoid being trolled
It's insanely funny to me that these packages exist while one of his bigger projects (https://github.com/enquirer/enquirer) lists the following reason under "why use it":
> Lightweight - Only one dependency, the excellent ansi-colors by Brian Woodward.
oclif
-
Gnarly Learnings from March 2023
oClif.io
-
How do I export/distribute a Node.js command line application?
Check out https://oclif.io/
-
From Ruby to Node: Overhauling Shopify’s CLI for a Better Developer Experience
Interesting. TIL about the Open CLI framework that they all seem to be moving to: https://oclif.io/
-
Making command line commands with javascript
https://oclif.io is a tool that helps you build command line tools with node. You can use it to help you create an executable for Linux, max, or windows that you can invoke from the command line.
-
Spidergram is a collection of tools my company Autogram has built or enabled over the past several years to support our work to automate content inventories for large websites: it's part web crawler, part domain model, and part mad science. We released the first public beta today.
Oclif to quickly click together CLI tools for kicking off and monitoring crawls, generating reports, etc.
-
One year at Ably as a Developer Advocate
During the second Ably Innovation Days, I started working on specifications for an Ably CLI. After the first day Phil and I started with a prototype based on oclif. We managed to create a working prototype in a day that lists Ably apps, and creates a new Ably app. This project is still Work In Progress. Once the CLI is in a releasable state, I'll create some content around this.
-
Building a TypeScript CLI with Node.js and Commander
A command-line interface, often referred to as a CLI, is a program that allows users to type instructions and interact with a script that processes the input and produces an output. Node.js has a lot of packages that allows you to build CLIs, like args, minimist, and oclif.
-
How do I create a bot that crawls reddit and gives me insights about certain topics/keywords? (Preferably can be written in JS)
Now, to call the scripts I've made I use oclif to easily include it in a cronjob.
-
Managing application cache with react-query, and code generation.
If we look at what this package is based on, we will see that we are using oclif - this is a node.js-based tool for creating a CLI.
-
Can I use Node for general scripting? (Like python)
I’d recommend using OCLIF (https://oclif.io/). It makes building super fancy CLIs a breeze
What are some alternatives?
Commander.js - node.js command-line interfaces made easy
prompts - ❯ Lightweight, beautiful and user-friendly interactive prompts
Ink - 🌈 React for interactive command-line apps
yargs - yargs the modern, pirate-themed successor to optimist.
pkg - Package your Node.js project into an executable
zx - A tool for writing better scripts
Cliffy - NodeJS Framework for Interactive CLIs
Bit - A build system for development of composable software.
deno - A modern runtime for JavaScript and TypeScript.
deno-puppeteer - A port of puppeteer running on Deno
terminalizer - 🦄 Record your terminal and generate animated gif images or share a web player
ua-parser-js - UAParser.js - Free & open-source JavaScript library to detect user's Browser, Engine, OS, CPU, and Device type/model. Runs either in browser (client-side) or node.js (server-side).