Displaying 1 to 20 from 55 results

listr - Terminal task list

  •    Javascript

A task can return different values. If a task returns, it means the task was completed successfully. If a task throws an error, the task failed.A task can also be async by returning a Promise. If the promise resolves, the task completed successfully, if it rejects, the task failed.

ora - Elegant terminal spinner

  •    Javascript

Show your support for Ora by buying this excellent Node.js course.It will gracefully not do anything when there's no TTY or when in a CI.

cli-spinners - Spinners for use in the terminal

  •    Javascript

The list of spinners is just a JSON file and can be used wherever.You probably want to use one of these spinners through the ora module.

retry - A simple, stateless, functional mechanism to perform actions repetitively until successful.

  •    Go

A simple, stateless, functional mechanism to perform actions repetitively until successful. This project is currently in "pre-release". While the code is heavily tested, the API may change. Vendor (commit or lock) this dependency if you plan on using it.




readline-sync - Synchronous Readline for interactively running to have a conversation with the user via a console(TTY)

  •    Javascript

Synchronous Readline for interactively running to have a conversation with the user via a console(TTY). readlineSync tries to let your script have a conversation with the user via a console, even when the input/output stream is redirected like your-script <foo.dat >bar.log.

jQuery-Postpone

  •    JQuery

Allows you to use the jQuery.Deferred mechanism in combination with setTimeout and setInterval.


p-wait-for - Wait for a condition to be true

  •    Javascript

Can be useful for polling.Returns a Promise that resolves when condition returns true. Rejects if condition throws or returns a Promise that rejects.

p-whilst - While a condition returns true, calls a function repeatedly, and then resolves the promise

  •    Javascript

Think async version of the while statement.While condition returns true, executes action repeatedly, and then resolves the promise. Rejects if action returns a promise that rejects or if an error is thrown anywhere.

end-of-stream - Call a callback when a readable/writable/duplex stream has completed or failed.

  •    Javascript

A node module that calls a callback when a readable/writable/duplex stream has completed or failed.Simply pass a stream and a callback to the eos. Both legacy streams, streams2 and stream3 are supported.

temporal - Non-blocking, temporal task sequencing. For use with robots built with Johnny-Five

  •    Javascript

Non-blocking, temporal task sequencing. temporal does NOT use setTimeout or setInterval, however there is a cost for using "recursive" setImmediate to create an extremely fast, async execution loop. CPU usage is expected to peak when using temporal, because the internal ticker needs to execute as fast as possible and as many times per second as possible. It's this speed that allows temporal to review the internal schedule for tasks to execute more than once per millisecond, which is needed to create preferential execution cycles for hardware programming.temporal is not good for sparse task scheduling.

co-wait - setTimeout generator style

  •    Javascript

setTimeout generator style.Wait for ms milliseconds before yielding.

watchify-middleware - a server for faster watchify development

  •    Javascript

For practical implementations, see watchify-server or budo.For a more complete example, see example/server.js.

p-do-whilst - Calls a function repeatedly while a condition returns true and then resolves the promise

  •    Javascript

Think async version of the do…while statement.Executes action repeatedly while condition returns true and then resolves the promise. Rejects if action returns a promise that rejects or if an error is thrown anywhere.