# jalfrezi

> curried default options

Latest version **2.2.0** (published 2015-04-13) · MIT license · 0 weekly downloads

## Install

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

## 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 | 2.2.0 |
| Published | 2015-04-13 |
| First published | 2015-01-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Matt Brennan |
| Maintainers | quarterto |
| Keywords | curry |

## Links

- npm: https://www.npmjs.com/package/jalfrezi
- Repository: https://github.com/quarterto/Jalfrezi
- Issues: https://github.com/quarterto/Jalfrezi/issues
- npm.io page: https://npm.io/package/jalfrezi

## Dependencies (3)

- [curry](https://npm.io/package/curry.md) ^1.2.0
- [defaults](https://npm.io/package/defaults.md) ^1.0.0
- [pascal-case](https://npm.io/package/pascal-case.md) ^1.1.0

## Recent versions

- 2.2.0 (latest) — 2015-04-13
- 2.1.0 — 2015-02-08
- 2.0.0 — 2015-01-31
- 1.0.0 — 2015-01-28

## README

<h1 align="center">
	Jalfrezi<br>

	<a href="http://badge.fury.io/js/jalfrezi">
		<img src="https://badge.fury.io/js/jalfrezi.svg" alt="npm version">
	</a>
	<a href="https://travis-ci.org/quarterto/Jalfrezi">
		<img src="https://travis-ci.org/quarterto/Jalfrezi.svg" alt="Build status">
	</a>
</h1>

Curried default option functions.

```js

function f(options, a, b) {
	console.log(options, a, b);
}

var g = jalfrezi({
	foo: 1,
	bar: 2
}, f);

g('a', 'b'); //⇒ {foo: 1, bar: 2} 'a' 'b'
g.withFoo(100)('a', 'b') //⇒ {foo: 100, bar: 2} 'a' 'b'
g.f_({bar: 200})('a', 'b') //⇒ {foo: 1, bar: 200} 'a' 'b'
```

Licence
---

MIT

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