JSPM

Found 62 results for done

bach

Compose your async functions with elegance.

  • v2.0.1
  • 96.93
  • Published

async-done

Allows libraries to handle various caller provided asynchronous functions uniformly. Maps promises, observables, child processes and streams, and callbacks to callback style.

  • v2.0.0
  • 94.38
  • Published

after-all-results

Bundle results of async functions calls into one callback with all the results

  • v2.0.0
  • 87.47
  • Published

promise-finally

Simple wrapper to run promise "finally" logic

  • v3.0.1
  • 72.12
  • Published

callback-count

Count your callbacks before continuing. A tiny control flow helper that supports dynamic counting.

  • v0.2.0
  • 59.00
  • Published

common-callback-names

List of common callback names - callback, cb, callback_, next, done.

  • v2.0.1
  • 45.87
  • Published

jasmine-promises

Return Promises from your asynchronous Jasmine tests

  • v0.4.1
  • 45.55
  • Published

function-done

Handles completion and errors for sync, callbacks, promises, observables and streams.

  • v2.1.2
  • 44.79
  • Published

try-catch-core

Low-level package to handle completion and errors of sync or asynchronous functions, using [once][] and [dezalgo][] libs. Useful for and used in higher-level libs such as [always-done][] to handle completion of anything.

  • v2.0.3
  • 41.57
  • Published

always-done

Handle completion and errors with elegance! Support for streams, callbacks, promises, child processes, async/await and sync functions. A drop-in replacement for [async-done][] - pass 100% of its tests plus more

  • v1.1.0
  • 40.82
  • Published

done-webpack-plugin

An end hook plugin for webpack, triggered when webpack compiler is done.

    • v1.0.3
    • 39.52
    • Published

    ts-pfy

    Transforms callback-based function into a Promise-based (TypeScript-friendly)

    • v1.0.0
    • 36.12
    • Published

    jasmine-promise-tools

    Testing promises in Jasmine can be tricky and error-prone. This library has a few simple and general purpose functions to make it safer and easier to write async promise-based tests in Jasmine.

    • v1.1.0
    • 32.81
    • Published

    done-bar

    [![NPM](https://nodei.co/npm/done-bar.png?downloads=true)](https://www.npmjs.com/package/done-bar)

    • v1.0.6
    • 25.77
    • Published

    zoro

    Async with like promise

    • v0.5.0
    • 24.64
    • Published

    await-done

    a simple library that allows you to run async unit tests(in libraries like mocha or jest) and call done()

    • v1.0.10
    • 17.49
    • Published

    is-callback-function

    Returns true if function is a callback. Checks its name is one of [common-callback-names][] - callback, cb, cb_, callback_, next, done, they can be customized, these are default.

    • v1.0.1
    • 16.90
    • Published

    vez

    Middleware composition at new level. Ultimate alternative to `ware`, `plugins`, `koa-compose` and `composition` packages. Allows you to use callbacks, promises, generators and async/await functions as middlewares.

    • v0.2.0
    • 15.14
    • Published

    markdown-extract

    Extract portions of text fro ma markdown content

    • v1.0.2
    • 14.83
    • Published

    async-any

    Manage various forms of asynchronous completion in a uniform way

    • v1.0.0
    • 14.70
    • Published

    letta-value

    Extends `letta` to accept and handles more than functions only. Handles all kind of results from `letta`. Basically, creating promise from everything - strings, arrays, objects, functions, generators, generator functions, promises, streams, child processe

    • v1.0.0
    • 14.05
    • Published

    async-time

    Time async functions using async-done for execution and completion.

    • v0.0.1
    • 13.99
    • Published

    doing

    a cli todo list designed for geeks

    • v0.0.0
    • 13.71
    • Published

    async-map-stream

    A version of map-stream with support for callbacks, promises, observables and streams.

    • v1.1.1
    • 13.60
    • Published

    react-input-box-done-typing

    A React component that triggers a callback when the user has finished typing in the input text box

    • v2.2.1
    • 13.55
    • Published

    webpack-write-stats-plugin

    Webpack plugin that writes the stats information to a defined file on build completion.

      • v0.0.1
      • 12.15
      • Published

      voa

      Acts like `co@4` and also is drop-in replacement for it (pass 100% of the tests). Built on top of `merz`, actually thanks to `always-done`. But accept everything, not only generators - sync functions, async functions, callbacks and more. Flow-control for

      • v0.1.1
      • 12.05
      • Published

      double-done

      Double Done design pattern

      • v0.1.1
      • 10.83
      • Published

      autodone

      A decorator for async functions that automatically calls `done()` on the returned promise

      • v1.1.1
      • 10.36
      • Published

      await-emitter

      add `finish` method on node EventEmitter for waiting all aync listeners to finish

      • v1.0.1
      • 10.20
      • Published

      reportwarrior

      Tooling to create reports from TaskWarrior using Mozilla Nunjucks.

      • v0.3.1
      • 10.15
      • Published

      basic-deferred

      Deferred in the most basic way

      • v0.0.5
      • 10.04
      • Published

      get-shit-done

      Simple timer for getting shit done

      • v0.0.2
      • 9.76
      • Published

      always-thunk

      Create thunk from async or sync function. Works like `thunkify`.

      • v1.0.0
      • 9.68
      • Published

      knock-knock-go

      knock-knock-go is React a helper to simplify the process of loading asynchronous components by dealing with the logic around when to render the component, an error or a loading message

      • v3.0.2
      • 9.38
      • Published

      gsd

      Respecting the art of getting stuff done.

      • v0.0.3
      • 9.36
      • Published

      defd

      Tiny extension for native Promises to make them more suitable for Node core APIs.

      • v1.0.0
      • 8.65
      • Published

      next-done

      It's just countdowns your callbacks.

      • v0.2.5
      • 8.49
      • Published

      pagedone-components

      Pagedone provides tailwind components for your website to make it easy.

      • v1.0.0
      • 8.43
      • Published

      process-done

      Convenient done handler that exits a process properly. Use with worker processes like for iron.io @ http://www.iron.io/worker

      • v2.0.1
      • 8.06
      • Published

      thenlint

      A linter for promises that checks for possible Promise.then usage errors and advises to use Promise.done instead.

      • v0.1.9
      • 6.21
      • Published

      gruu-api

      Core API for Gruu and Mukla - Minimal, modern and extensible test runners

      • v0.2.4
      • 5.72
      • Published

      slack-done

      Use this simple CLI to tell your team which tasks you have finished!

      • v1.0.2
      • 4.32
      • Published

      construct-iterator

      Utilities to create synchronous/asynchronous iterators from a next() -> { done, value }

      • v0.1.8
      • 2.75
      • Published

      streams-done

      Get a callback when all streams have ended

      • v0.2.1
      • 2.63
      • Published