# calminha

> Function calling rate limiter

Latest version **0.1.0** (published 2015-10-16) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2015-10-16 |
| First published | 2015-10-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Diogo Resende |
| Maintainers | dresende |

## Links

- npm: https://www.npmjs.com/package/calminha
- Repository: http://github.com/dresende/calminha
- Homepage: https://github.com/dresende/calminha
- Issues: https://github.com/dresende/calminha/issues
- npm.io page: https://npm.io/package/calminha

## Recent versions

- 0.1.0 (latest) — 2015-10-16

## README

## Calminha

Calminha is a NodeJS module to queue calls to a function and enforce a minimum interval between calls. It is also a portuguese word for "take it easy".

### Instalation

```sh
npm install calminha
```

### Usage

```js
var calminha = require("calminha");
var proxy    = calminha("check-auth", checkAuthentication, { interval: 500 });

// an example of calling the proxy, the prototype
// is exactly as the hypothetical checkAuthentication
proxy("username", "password", function (err) {
    // ...
});
```

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