# puppy-fp

> Woof woof and bow wow

Latest version **1.0.2** (published 2022-12-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install puppy-fp
pnpm add puppy-fp
yarn add puppy-fp
bun add puppy-fp
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-12-31 |
| First published | 2022-12-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 39.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dan Kreiger |
| Maintainers | dankreiger |
| Keywords | puppy, fp, functional, programming |

## Links

- npm: https://www.npmjs.com/package/puppy-fp
- Repository: https://github.com/dankreiger/puppy-fp
- Issues: https://github.com/dankreiger/puppy-fp/issues
- npm.io page: https://npm.io/package/puppy-fp

## Recent versions

- 1.0.2 (latest) — 2022-12-31
- 1.0.1 — 2022-12-31

## README

# puppy-fp

For puppies that are afraid of the outside world.

## Documentation

[Documentation](https://dankreiger.github.io/puppy-fp)

## License

[MIT](https://choosealicense.com/licenses/mit/)

## Installation

Install with `npm`

```bash
  npm install puppy-fp
```

## Badges

Add badges from somewhere like: [shields.io](https://shields.io/)

[![npm](https://img.shields.io/badge/npm-gray?style=flat&logo=npm&link=https://www.npmjs.com/package/puppy-fp)](https://www.npmjs.com/package/puppy-fp)
[![iife](https://img.shields.io/badge/iife-gray?style=flat&logo=HTML5&link=unpkg.com/:package@:version/:file)](unpkg.com/puppy-fp)
[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)

## Usage/Examples

Standalone

```ts
import { taskify } from 'puppy-fp';

const longRunningTask = () =>
  new Promise((resolve) => setTimeout(resolve, 1000));

const runTask = taskify(longRunning);
await runTask(); // takes ca. 1000ms

await runTask(); // runs immediately (result is memoized)
```

Integrated with `fp-ts` or any other library with a `Task` implementation

## TODO:

- [ ] Add more functions

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