throw-dice

    2.0.3 • Public • Published

    Throw a dice

    Returns random number 1 thru 6

    Install

    npm i throw-dice

    Use

    module

    const throwDice = require('throw-dice')
    console.log(throwDice())
    
    // -> number 1 .. 6

    call directly

    npx throw-dice
    
    // -> number 1 .. 6

    install globally

    npm i -g throw-dice

    and call it anytime

    throw-dice
    
    // -> number 1 .. 6

    short command version is also available

    td
    // -> number 1 .. 6

    Install

    npm i throw-dice

    DownloadsWeekly Downloads

    0

    Version

    2.0.3

    License

    ISC

    Unpacked Size

    1.13 kB

    Total Files

    4

    Last publish

    Collaborators

    • pawel-id