fn-utils

0.1.2 • Public • Published

fn-utils

Useful functions for writing functions. Inspired by allong.es.

Getting Started

Install the module with: npm install fn_utils

{flip} = require 'fn_utils'
{map} = require 'lodash'

mapWith = flip map      #=> flip returns a curried function with its arguments flipped

inc = (e)-> e + 1

mapInc = mapWith inc

mapInc [1,2,3]    #=> [2,3,4]

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

(Nothing yet)

License

Copyright (c) 2014 Andrew Stern
Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i fn-utils

Weekly Downloads

3

Version

0.1.2

License

none

Last publish

Collaborators

  • android