11 packages matching “hybridify”
hybridify
v2.0.0 · 10 years ago
Hybridify. Hybrids. Create sync or async function to support both promise and callback-style APIs in same time. Using the power of [relike][].
No known vulnerabilities
hybridify-all
v1.0.4 · 11 years ago
Hybridifies all the selected functions in an object.
No known vulnerabilities
handle-errors
v1.0.0 · 11 years ago
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
No known vulnerabilities
exec-cmd
v2.0.1 · 11 years ago
Flexible and cross-platform executing commands. Hybrid, Async and Promise API.
No known vulnerabilities
relike
v1.1.5 · 10 years ago
Simple promisify async or sync function with sane defaults. Lower level than `promisify` thing. Can be used to create `promisify` method.
No known vulnerabilities
polygoat
v1.1.4 · 10 years ago
Make JavaScript functions that support both promise and callback styles.
No known vulnerabilities
benz
v0.4.0 · 11 years ago
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.
No known vulnerabilities
is-hybrid
v1.0.1 · 11 years ago
Check whether an object looks like Hybrid which is promises-a+ promise and callback api
No known vulnerabilities
handle-callback
v2.0.0 · 11 years ago
Make promise to have support for callback api, it returns promise in that same time.
No known vulnerabilities
create-callback
v1.0.1 · 10 years ago
Create callback api from synchronous function. Same as `make-callback`, but won't handle generators and if async function is given returns it.
No known vulnerabilities
relike-value
v1.0.0 · 10 years ago
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.
No known vulnerabilities