This repository has been archived on 2025-11-01. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2023-02-12 14:58:01 +08:00
index.js Add files via upload 2023-02-12 14:58:01 +08:00
logo.png rename logo 2022-11-06 09:53:04 +08:00
package-lock.json Add files via upload 2023-02-12 14:58:01 +08:00
package.json Add files via upload 2023-02-12 14:58:01 +08:00
README.md Add files via upload 2023-02-12 14:58:01 +08:00

Package Deprecated

CoinflipJS has been deprecated and will no longer receive any updates.


CoinflipJS

Flip a coin

Installation

Requirements:

  • Node.js v16 or higher
  • npm

Run the following command in your npm project directory and it will install.

npm install coinflipjs

Usage

// Import Package
const coinflip = require("coinflipjs");

// Generate result
const res = coinflip();

// Log the result
console.log(res);