Cliffy

NodeJS Framework for Interactive CLIs (by drew-y)

Cliffy Alternatives

Similar projects and alternatives to Cliffy

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Cliffy alternative or higher similarity.

Cliffy reviews and mentions

Posts with mentions or reviews of Cliffy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-02.
  • Is Node.js a good way to implement a CLI app with persistence?
    3 projects | /r/node | 2 Jun 2023
    Due to Node's asynchronous behavior, it makes Node great for long-running processes that make a lot of HTTP requests, database calls, and other async ops, like a web server or a REST API. However, if I am making a CLI tool for pretty much personal use only, with very minimal async operations, then blocking the event loop with a synchronous function that will resolve almost immediately will make no difference perceivable to a human brain or have any speed benefits that someone can actually observe (think `fs.readFileSync` or `require('dotenv') of 10 line config file, or a quick embedded db (sqlite) query with only ~100 records. I'm wondering what the best way to implement the database part of the app synchronous. I can read/write to JSON files but it would be tricky because the data is relational, and some complex joins and other data wrangling operations are required (complex to perform in JS but are easy to implement in a SQL statement). It's not important what the operations are, that's not the point of this post. This is mostly a personal project of interest: making this CLI tool completely avoiding any async operations/using no promises. I would like to use node tho, as I said this is just out of interest and I also want to experiment with several CLI libraries such as Ink or Cliffy.

Stats

Basic Cliffy repo stats
1
347
0.0
almost 2 years ago

drew-y/cliffy is an open source project licensed under ISC License which is an OSI approved license.

The primary programming language of Cliffy is TypeScript.

The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com