0.2.0 • Published 8 years ago

ramped.make_array v0.2.0

Weekly downloads
5
License
ISC
Repository
github
Last release
8 years ago

Ramped make array

Build items in an array from functions applied to a single input.

This is the same as Ramda juxt.

Install

To add as a dependency to a Node.js project:

npm i ramped.make_array --save

Usage

make_array = require('ramped.make_array')

convert = make_array([
	R.prop('a'),
	R.prop('b')
])

new_array = convert({a: 1, b: 2})
// [1, 2]

License

ISC

0.2.0

8 years ago

0.1.0

8 years ago