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

dnd-dice

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnd-dice

A collection of classes for standard dice rolls and coin flips.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

NPM

A simple collection of classes for quickly creating and using standard dice rolls and even coin flips.

import { Die, Coin } from 'dnd-dice';

const faces = 50;
const dice = new Die(faces);
console.log(d.value); // 1-50

const coin = new Coin();
console.log(c.result); // Heads or Tails

Documentation

For details about class methods and properties please check the documentation.

Need help?

If you've encountered a bug or would like to suggest a feature, feel free to create either a pull request or an issue on the github.

Keywords

dnd

FAQs

Package last updated on 20 Jun 2023

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