JSPM

Found 10 results for hybridify

polygoat

Make JavaScript functions that support both promise and callback styles.

  • v1.1.4
  • 57.12
  • Published

handle-errors

Handling/creating hybrid errors. Hybrid middleware between callbacks and throws. Helpful util for modules that have hybrid APIs and want when they use promises, directly to throw the errors; when use callbacks to pass errors to first argument of this call

  • v1.0.0
  • 41.32
  • Published

exec-cmd

Flexible and cross-platform executing commands. Hybrid, Async and Promise API.

  • v2.0.1
  • 34.80
  • Published

hybridify

Hybridify. Hybrids. Create sync or async function to support both promise and callback-style APIs in same time. Using the power of [relike][].

  • v2.0.0
  • 34.07
  • Published

handle-callback

Make promise to have support for callback api, it returns promise in that same time.

  • v2.0.0
  • 19.42
  • Published

create-callback

Create callback api from synchronous function. Same as `make-callback`, but won't handle generators and if async function is given returns it.

  • v1.0.1
  • 16.80
  • Published

benz

Compose your control flow with absolute elegance. Support async/await, callbacks, thunks, generators, promises, observables, child processes and streams. Can power applications that need to have plugins. Useful for creating task, test and bench runners.

  • v0.4.0
  • 16.22
  • Published

hybridify-all

Hybridifies all the selected functions in an object.

  • v1.0.4
  • 14.67
  • Published

is-hybrid

Check whether an object looks like Hybrid which is promises-a+ promise and callback api

  • v1.0.1
  • 8.62
  • Published

relike-value

Create promise from sync, async, string, number, array and so on. Handle completion (results) and errors gracefully! Built on top of `relike`, used by `redolent` to build robust (hybrid) APIs.

  • v1.0.0
  • 7.74
  • Published