A Node.js module to create animated CLI step indicators similar to Yarn's output. Version 1.0.2 is the latest stable release; it has no recent updates and appears to be in maintenance mode. Key differentiators: supports emoji step indicators, records execution time, and provides a simple API for start/success/error states. It is a UI-only layer, not a task runner.
npm install cli-stepVerified import paths — ran on the pinned version, not inferred.
Creates three animated CLI steps with emoji, completing each after a timeout.
Ensure the total passed to Steps matches the number of advance() calls.
Consider using oclif/listr or other actively maintained CLI step libraries.
Use known emoji names from the node-emoji library.
Avoid using with other direct stdout writing libraries simultaneously.
Use process.hrtime.bigint for more accurate measurements if needed.
Add const Steps = require('cli-step') at the top of your file.Ensure you use const Steps = require('cli-step') and do not reassign Steps.Call step.start() before step.success() or step.error().
Run npm install node-emoji in your project.