funny-prepend

1.0.3 • Public • Published

prepend

Simple modules for functional programming, done for fun.

Usage

import prepend from 'funny-prepend'

prepend(3, [1, 2])   // [3, 1, 2]
prepend([3], [1, 2]) // [[3], 1, 2]

License

The MIT License (MIT). Copyright (c) 2016 Luís Rodrigues.

Package Sidebar

Install

npm i funny-prepend

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • goblindegook