5.0.1 • Published 1 year ago

@hugoalh/advanced-random v5.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
1 year ago

Advanced Random (NodeJS)

License GitHub Repository GitHub Stars GitHub Contributors GitHub Issues GitHub Pull Requests GitHub Discussions CodeFactor Grade

ReleasesLatest (GitHub Latest Release Date)Pre (GitHub Latest Pre-Release Date)
GitHub GitHub Total DownloadsGitHub Latest Release VersionGitHub Latest Pre-Release Version
NPM NPM Total DownloadsNPM Latest Release VersionNPM Latest Pre-Release Version

📝 Description

A NodeJS module to provide a better random method via crypto.

🌟 Feature

  • Better random method without writing a lot of codes.
  • Support type of big interger.

📚 Documentation (Excerpt)

For the full documentation, please visit the GitHub Repository Wiki.

Getting Started

  • NodeJS ^ v14.15.0 || >= v16.13.0
npm install @hugoalh/advanced-random
/* Either */
import { ... } from "@hugoalh/advanced-random";// Named Import
import * as advancedRandom from "@hugoalh/advanced-random";// Namespace Import

API

Class

  • BigIntegerRandomizer
  • FloatNumberRandomizer
  • IntegerNumberRandomizer
  • PoolRandomizer

Function

  • pool
  • randomBigInteger
  • randomFloatNumber
  • randomIntegerNumber
  • shuffleArray

Generator Function

  • poolGenerator
  • randomBigIntegersGenerator
  • randomFloatNumbersGenerator
  • randomIntegerNumbersGenerator

Example

randomFloatNumber({ decimalPlace: 2 });
//=> 0.15

randomIntegerNumber(100);
//=> 87
5.0.1

1 year ago

5.0.0

1 year ago

5.0.0-beta.1

1 year ago

4.1.0

1 year ago

4.0.0

1 year ago

4.2.1

1 year ago

4.2.0

1 year ago

4.1.1

1 year ago

4.0.0-beta.2

1 year ago

4.0.0-beta.1

1 year ago

3.0.1

2 years ago

3.0.0

2 years ago

2.3.0

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.3.1

2 years ago

2.2.2

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.1.0

2 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.2.0-rc.1

3 years ago

1.1.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago