0.1.2 • Published 10 years ago
fn-utils v0.1.2
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.