# secret-friend

> Generate secret friends party list

Latest version **1.0.3** (published 2021-12-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install secret-friend
pnpm add secret-friend
yarn add secret-friend
bun add secret-friend
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-12-15 |
| First published | 2021-12-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 161 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Leonardo Guarnieri de Bastiani |
| Maintainers | leobastiani |

## Links

- npm: https://www.npmjs.com/package/secret-friend
- Repository: https://github.com/leobastiani/secret-friend
- npm.io page: https://npm.io/package/secret-friend

## Recent versions

- 1.0.3 (latest) — 2021-12-15
- 1.0.2 — 2021-12-13
- 1.0.1 — 2021-12-13
- 1.0.0 — 2021-12-13

## README

# secret-friend

## Usage example

Let's suppose you have friends: Arthur, Bob, Clara

```javascript
const genSecretFriends = require("secret-friend");

const friends = ["Arthur", "Bob", "Clara"];
const tuples = genSecretFriends(friends);

console.log(tuples);
/**
 * [
 *   { from: 'Arthur', to: 'Bob' }, // Arthur gives a gift to Bob
 *   { from: 'Bob', to: 'Carla' }, // Bob gives a gift to Carla
 *   { from: 'Carla', to: 'Arthur' }, // Carla gives a gift to Arthur
 * ]
 */
```

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