# pinky-for-fun

> Pinky wrappers for regular and asynchronous functions.

Latest version **0.2.1** (published 2013-04-02) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install pinky-for-fun
pnpm add pinky-for-fun
yarn add pinky-for-fun
bun add pinky-for-fun
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2013-04-02 |
| First published | 2013-03-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Quildreen "Sorella" Motta |
| Maintainers | killdream |

## Links

- npm: https://www.npmjs.com/package/pinky-for-fun
- Repository: https://github.com/killdream/pinky-for-fun
- npm.io page: https://npm.io/package/pinky-for-fun

## Dependencies (2)

- [pinky](https://npm.io/package/pinky.md) ~0.1.2
- [pinky-combinators](https://npm.io/package/pinky-combinators.md) ~0.1.1

## Recent versions

- 0.2.1 (latest) — 2013-04-02
- 0.2.0 — 2013-03-30
- 0.1.0 — 2013-03-30
- 0.0.0 — 2013-03-30

## README

# Pinky for Fun [![Build Status](https://travis-ci.org/killdream/pinky-for-fun.png)](https://travis-ci.org/killdream/pinky-for-fun) ![Dependencies Status](https://david-dm.org/killdream/pinky-for-fun.png)

Pinky wrappers for regular and asynchronous functions.


### Platform support

Should work fine on ES3.

[![browser support](http://ci.testling.com/killdream/pinky-for-fun.png)](http://ci.testling.com/killdream/pinky-for-fun)


### Example

```js
var pinkyFun = require('pinky-for-fun')

var add = function(a, b){ return a + b }
var addP = pinkyFun.lift(add)

addP(2, 3).then(function(result){ console.log(result) })

var readP = pinkyFun.liftNode(fs.readFile)
readP('foo.txt', 'utf-8').then(function(data){ ... }, function(err){ ... })
```


### Installing

Just grab it from NPM:

    $ npm install pinky-for-fun


### Documentation

A quick reference of the API can be built using [Calliope][]:

    $ npm install -g calliope
    $ calliope build


### Tests

You can run all tests using Mocha:

    $ npm test


### Licence

MIT/X11. ie.: do whatever you want.

[Calliope]: https://github.com/killdream/calliope
[es5-shim]: https://github.com/kriskowal/es5-shim

---
_Source: https://npm.io/package/pinky-for-fun · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
