# spawn-password

> Simple and Reliable library for generating random strings that can be used as passwords

Latest version **1.0.1** (published 2020-04-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install spawn-password
pnpm add spawn-password
yarn add spawn-password
bun add spawn-password
```

## 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-04-27 |
| First published | 2020-04-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 12.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Frederick Hazel Sagoe |
| Maintainers | frederickhazel |
| Keywords | password, generate, spawn, random, string, alpha, numeric, symbol, alphanumeric |

## Links

- npm: https://www.npmjs.com/package/spawn-password
- Repository: https://github.com/frederickhazel6996/spawn-password
- Homepage: https://github.com/frederickhazel6996/spawn-password#readme
- Issues: https://github.com/frederickhazel6996/spawn-password/issues
- npm.io page: https://npm.io/package/spawn-password

## 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-04-27

## README

# spawn-password

spawn-random is a very simple and reliable library for generating passwords

![](https://img.shields.io/npm/v/spawn-password) ![](https://img.shields.io/npm/l/spawn-password)

## Installation

    $ npm install spawn-password --save

## Usage

### `spawn()`

This creates a random password that consists of alphabets,numbers and symbols with a random length

```javascript
const spawn = require("spawn-password");

let spawned_password = spawn.spawn();

console.log(spawned_password);
```

### `spawnLength(length)`

This cretaes a random passowrd that consists of alphabets,numbers and symbols with a specified length

```javascript
const spawn = require("spawn-password");

let spawned_password = spawn.spawnLength(15);

// snF78sl03P>ha$o
console.log(spawned_password);
```

### `spawnAlpha()`

This creates a random length password that consists of only alphabets

```javascript
const spawn = require("spawn-password");

let spawned_password = spawn.spawnAlpha();

// mskAnsTiPsjU
console.log(spawned_password);
```

### `spawnAlphaLength(length)`

This creates a random password of specified length that consists of only alphabets

```javascript
const spawn = require("spawn-password");

let spawned_password = spawn.spawnAlphaLength(15);

// slfjhetAnEmLsta
console.log(spawned_password);
```

### `spawnAlphaNumeric()`

This creates a random password that consists of alphabets and Numbers

```javascript
const spawn = require("spawn-password");

let spawned_password = spawn.spawnAlphaNumeric();

// 6J8snms09I7T
console.log(spawned_password);
```

### `spawnAlphaNumericLength(length)`

This creates a random password of specified length that consists of alphabets and Numbers

```javascript
const spawn = require("spawn-password");

let spawned_password = spawn.spawnAlphaNumericLength(10);

// 92nH03Lp5
console.log(spawned_password);
```

### `spawnAlphaSymbol()`

This creates a random password that consists of alphabets and Symbols

```javascript
const spawn = require("spawn-password");

let spawned_password = spawn.spawnAlphaSymbol();

// H*mn$nsU&
console.log(spawned_password);
```

### `spawnAlphaSymmbolLength(length)`

This creates a random password of specified length that consists of Alphabets and Symbols

```javascript
const spawn = require("spawn-password");

let spawned_password = spawn.spawnAlphaSymbolLength(10);

// p*o^GHb$#m
console.log(spawned_password);
```

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