random-weighted-pick

Easily choose a random item from a weighted list of items.

Package versions

15 VERSIONS IN TOTAL
versionpublisheddirect vulnerabilities
2.0.114 Sep, 2025
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
2.0.014 Sep, 2025
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.1219 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.1119 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.1019 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.919 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.819 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.718 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.618 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.518 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.418 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.318 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.218 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.118 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.018 Feb, 2018
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Get started free