# rarely

> An Javascript Snipper for making Random things that you can control rarity

Latest version **0.0.1-development** (published 2017-04-10) · MIT license · 0 weekly downloads

## Install

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

## 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.0.1-development |
| Published | 2017-04-10 |
| First published | 2017-04-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | dalisoft |
| Maintainers | dalisoft |
| Keywords | js, random, rare |

## Links

- npm: https://www.npmjs.com/package/rarely
- Repository: https://github.com/dalisoft/rarely
- Homepage: https://github.com/dalisoft/rarely#readme
- Issues: https://github.com/dalisoft/rarely/issues
- npm.io page: https://npm.io/package/rarely

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.1-development (latest) — 2017-04-10
- 0.0.1 — 2017-04-10

## README

# rarely
An Javascript Snipper for making Random things that you can control rarity

# Example
```javascript
let rr = new Rarely({ frequency : 1, rareEffeciency : 2 });
	rr.call((chest) => { console.log(`Wow, you got ${ chest} chest`); });
	rr.err((chest) => { console.log(`Oh, no, you not get the ${ chest } chest`); });
	rr.run('Super magical');
```

# License
MIT-License

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