ramped.make_array

0.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ramped.make_array

Weekly Downloads

4

Version

0.2.0

License

ISC

Last publish

Collaborators

  • mattms