Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atesgoral/hrm-level-inbox-generator
Human Resource Machine inbox generator for testing and benchmarking solutions
https://github.com/atesgoral/hrm-level-inbox-generator
Last synced: 3 months ago
JSON representation
Human Resource Machine inbox generator for testing and benchmarking solutions
- Host: GitHub
- URL: https://github.com/atesgoral/hrm-level-inbox-generator
- Owner: atesgoral
- Created: 2015-10-27T03:50:06.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-07-06T15:39:03.000Z (7 months ago)
- Last Synced: 2024-10-02T03:25:04.211Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 29.3 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![npm](https://img.shields.io/npm/v/hrm-level-inbox-generator)][1]
[![Build and Deploy](https://github.com/atesgoral/hrm-level-inbox-generator/actions/workflows/test.yml/badge.svg)][2][1]: https://www.npmjs.com/package/hrm-level-inbox-generator
[2]: https://github.com/atesgoral/hrm-level-inbox-generator/actions/workflows/test.yml# hrm-level-inbox-generator
Human Resource Machine inbox generator for testing and benchmarking solutions.Generates a random inbox that is appropriate for a given level.
## Methods
### .generate(levelNumber)
**levelNumber** - _Number_. The level number (1-41).
**returns** - _Array_. If the generator doesn't support the given level, a `null` is returned.
### .seed(seed)
**seed** - _Number_. Seeds the random number generator to consistently get the same inbox configurations on subsequent `.generate()` calls.
## Example
```js
var generator = require('hrm-level-inbox-generator');// Tripler Room
var inbox = generator.generate(8); // [ 2, 4, 0, -5 ]
```