New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@0xcap/loot-table

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xcap/loot-table

A simple loot table implementation in TypeScript.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

loot-table

MIT License GitHub issues open

A simple loot table implementation in TypeScript.

Installation

Using yarn

yarn add loot-table

Using pnpm

pnpm add loot-table

Using npm

npm install 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();

Keywords

loot

FAQs

Package last updated on 17 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts