# bentinabeakley

> Curry your functions with Bentina Beakley

Latest version **1.0.2** (published 2020-04-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install bentinabeakley
pnpm add bentinabeakley
yarn add bentinabeakley
bun add bentinabeakley
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-04-11 |
| First published | 2020-04-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Sam C. |
| Maintainers | samrocksc |

## Links

- npm: https://www.npmjs.com/package/bentinabeakley
- Repository: https://github.com/samrocksc/bentinaBeakley
- Homepage: https://github.com/samrocksc/bentinaBeakley#readme
- Issues: https://github.com/samrocksc/bentinaBeakley/issues
- npm.io page: https://npm.io/package/bentinabeakley

## Recent versions

- 1.0.2 (latest) — 2020-04-11
- 1.0.1 — 2020-04-11
- 1.0.0 — 2020-04-11

## README

# Bentina Beakley!

I basically curry functions in a super opinionated way. I originally made this inside of [boulangerie](https://github.com/samrocksc/boulangerie), but found i was using this function more than that module....so, i made it.

You can pass in sync, or async functions.

```javascript
const currier = require('bentinabeakley');

const buildAdapterFunc = (build, service, output) => {
  const totalArray = [...build, ...service, ...output];
  return async initialParam => currier(initialParam).chain(totalArray).execute();
};

await buildAdapterFunc(
  [
    async () => {
      console.log('a build step');
    },
  ],
  [
    () => {
      console.log('a service step');
    },
  ],
  [
    () => {
      console.log('an output step');
    },
    () => true,
  ]
); // returns true
```

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