argtoob
Function to convert a list of arguments to an object. This module is created as an alternative to the request lodash#2004 and of course with @jdalton's permission :-)
Install
npm i argtoob --save
Usage
const targs = const toObj = // returns a function // returns {a: 1, b: 2, c: 3}
Examples
1. Create a key value pair from an object
const _ = const targs = _ /* OUTPUTS [ {key: 'a', value: 1}, {key: 'b', value: 2}, {key: 'c', value: 3} ]*/
2. Merge Streams with RxJS
const Rx = const targs = const resize = RxObservableconst scroll = RxObservable RxObservable