# automation-utils

> Automation helpers

Latest version **1.1.2** (published 2022-06-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install automation-utils
pnpm add automation-utils
yarn add automation-utils
bun add automation-utils
```

## 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.1.2 |
| Published | 2022-06-17 |
| First published | 2022-06-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Julliane Freitas |
| Maintainers | julliane |
| Keywords | utils, automation, test, useful |

## Links

- npm: https://www.npmjs.com/package/automation-utils
- Repository: https://github.com/JullianeFreitas/j-utils
- Homepage: https://github.com/JullianeFreitas/j-utils#readme
- Issues: https://github.com/JullianeFreitas/j-utils/issues
- npm.io page: https://npm.io/package/automation-utils

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.1.2 (latest) — 2022-06-17
- 1.1.1 — 2022-06-17
- 1.1.0 — 2022-06-17
- 1.0.7 — 2022-06-17
- 1.0.6 — 2022-06-17
- 1.0.5 — 2022-06-17
- 1.0.4 — 2022-06-17
- 1.0.3 — 2022-06-17
- 1.0.2 — 2022-06-17
- 1.0.1 — 2022-06-17
- 1.0.0 — 2022-06-17

## README

# automation-utils

A set of useful methods for the test automation process.


## Installation

Install automation-utils using npm

```bash
  npm install automation-utils
```
    
## Usage

```bash
  var automationUtils = require("automation-utils")

  automationUtils.generateUUID()
```


## Methods

### Jump-to:
- [generateUUID()](#generateUUID)
- [person.generateRandomPerson()](#person.generateRandomPerson)
- [person.generateRandomName()](#person.generateRandomName)
- [person.generateRandomLastName()](#person.generateRandomLastName)
- [person.generateRandomPhoneNumber()](#person.generateRandomPhoneNumber)

### generateUUID()

Creates a Globally Unique Identifier and returns a string.

### person.generateRandomPerson()

Creates a random person with the following attributes:

```javascript
var person = {
        personName: string,
        lastName: string,
        email: string (personName + lastName@gmail.com),
        phone: string (xx xxxxx-xxxx),
      };
```

### person.generateRandomName()

Creates a random name and returns a string.

### person.generateRandomLastName()

Creates a random last name and returns a string.

### person.generateRandomPhoneNumber()

Creates a ranfom phone number and returns a string.

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