Catalog npm
PACKAGE EXPLORERView in registry

@0xcap/loot-table

npm

A simple loot table implementation in TypeScript.

dropslootrandomtable
Versions collected5
Direct dependencies3From release 2.0.0
Last observed20 Oct, 22:44 UTC

README

Current package documentation

loot-table

MIT License GitHub issues open

A simple loot table implementation in TypeScript.

Installation

Using yarn

yarn add @0xcap/loot-table

Using pnpm

pnpm add @0xcap/loot-table

Using npm

npm install @0xcap/loot-table

Usage

import { LootTable } from "@0xcap/loot-table";

const lootTable = new LootTable();

lootTable.addItem("item1", 2);
lootTable.addItem("item2", 4);

const drop = lootTable.dropItem();

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 5

Collected releases
VersionPublishedDirect dependenciesOpen version
2.0.0Registry latest13 Oct 20263
1.0.117 Apr 20227
1.0.017 Apr 20227
0.2.08 Jul 20206
0.1.08 Jul 20205

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xcap/loot-table

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:44 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:f4bc5ea04fca9e0dd5962cc91e89e598875b0653043e2b36124b02a025d2c495