# brainfog-js

> Random string generation

Latest version **1.0.1** (published 2020-11-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install brainfog-js
pnpm add brainfog-js
yarn add brainfog-js
bun add brainfog-js
```

## 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 | 1.0.1 |
| Published | 2020-11-13 |
| First published | 2020-11-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kysadro |
| Maintainers | kysadro |
| Keywords | strings, random, random generation, string generation, brainfog |

## Links

- npm: https://www.npmjs.com/package/brainfog-js
- Repository: https://github.com/kysadro/brainfog-js
- Issues: https://github.com/kysadro/brainfog-js/issues
- npm.io page: https://npm.io/package/brainfog-js

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-11-13
- 1.0.0 — 2020-11-13

## README

# brainfog-js

*Brainfog-JS* is an Open-Source NodeJS module that generates random strings (and that includes license keys)

Example code:
```javascript
const brainfog = require("brainfog");

// License key generation
const licenseCode = brainfog.generateLicense(); // (Has optional arguments)
console.log(licenseCode);  // Outputs out "ZSDmR-rkyhf-drdzm-PqiMB", "oxatN-JTvFO-aGMWV-Bqbvj", etc

// Random string arrays
const array = brainfog.run(
    /* times: */ 3,
    /* complexity: */ 8,
    /* randomCase: */ false
);
console.log(array);  // Outputs out: ["ltzwidsb", "edwwgvqh", "onexotym"]

// Random strings
const string = brainfog.runOnce(
    /* Complexity: */ 10,
    /* randomCase: */ false
);
console.log(string); // Outputs out random strings like "rhviwucmcx", "xtgltfjmzt", and etc'
```

## 1. Installing Brainfog-JS:
    npm install brainfog

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