hybridables Goto Github PK
Name: JavaScript Hybrids
Type: Organization
Bio: #asyncfirst #alwaysasync #hybridify. All hybrids and related things.
Location: Sofia, Bulgaria
Blog: http://j.mp/asyncfirst
Name: JavaScript Hybrids
Type: Organization
Bio: #asyncfirst #alwaysasync #hybridify. All hybrids and related things.
Location: Sofia, Bulgaria
Blog: http://j.mp/asyncfirst
:kiss: Create callback api for given sync function. Guarantee that given function (sync or async, no matter) will always have callback api.
:trophy: Handle completion and errors with elegance! Support for async/await, promises, callbacks, streams and observables. A drop-in replacement for async-done - pass 100% of its tests plus more
Generatorify, basically, everything. You can create generator function from callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.
Promisify, basically, everything. Generator function, callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.
Create stream from any value - function, array, string, buffer, promise, number, object and etc. Always returns a function that returns Transform Stream, using through2.
Thunkify, basically, everything. Generator function, callback-style or synchronous function; sync function that returns child process, stream or observable; directly passed promise, stream or child process.
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. Built with backward compatibility and future stability in mind.
Transform sync, async or generator function to Stream. Correctly handle errors and optional arguments.
Acts like `co@3` and also is drop-in replacement for it. 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 now and then.
Create callback api from synchronous function. Same as `make-callback`, but won't handle generators and if async function is given returns it.
Flexible and cross-platform executing commands. Hybrid, Async and Promise API.
Get separately non-callback arguments in `.arguments` and the last argument if it `is-callback-function` in `.callback` property. It also works like `sliced`, but returns object with `.arguments` and `.callback` properties.
Make promise to have support for callback API, it returns promise in that same time.
Handling/creating hybrid errors, if callback pass to it else throw
Handle completion of an observable, using observable's `.subscribe` method.
Handle completion of a stream, using `on-stream-end` and `stream-exhaust`.
Hybridify@2. Create sync or async function to support both promise and callback-style APIs in same time. Using the power of `relike`.
Hybridifies all the selected functions in an object.
Check whether an object looks like Hybrid which is promises-a+ promise and callback api
#asyncfirst :cat2: Promisify sync, async or generator function, using relike. Kind of promisify, but lower level. Full compatibility with co4 and passing 100% of its tests.
Just `letta` with good old callback-style api. Accepts sync, async, generators and generator functions.
Extends `letta` to accept and handles more than functions only. Handles all kind of results from `letta`/promise. Basically, creating promise from everything - strings, arrays, objects, functions, generators, generator functions, promises, streams, child processes, observables, maps, symbols, dates and etc.
Make synchronous function or generator to support callback api
Wrapper to handle completion and errors of sync and async functions, promises, generators, streams, observables and child processes.
Logo license and `hybridables` organization discussion.
Transform ES2015 Promise to Stream - specifically, Transform Stream using `through2`. Works in object mode by default, but you can pass options directly to the `through2` package.
Convert (transform) promise to thunk, just like was in co@3
Simple promisify with sane defaults, works on node 0.10 if you provide custom Promise through options
#asyncfirst :star: Simple promisify async or sync function with sane defaults. Lower level than `promisify` thing.
Promisify all functions in an object, using `relike`.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.