DPokerLib is Poker Library
$ npm install dpoker-lib
var DPokerLib = require('dpoker-lib');
let deck = new DPokerLib.deck.Deck()
var DPokerLib = require('dpoker-lib');
let deck = new DPokerLib.deck.Deck()
let card = deck.drawOne()
var DPokerLib = require('dpoker-lib');
let deck = new DPokerLib.deck.Deck()
let card = deck.drawOne()
let number = card.number
var DPokerLib = require('dpoker-lib');
let deck = new DPokerLib.deck.Deck()
let card = deck.drawOne()
let number = card.mark
var DPokerLib = require('dpoker-lib');
let deck = new DPokerLib.deck.Deck()
let card1 = deck.drawOne()
let card2 = deck.drawOne()
let card3 = deck.drawOne()
let card4 = deck.drawOne()
let card5 = deck.drawOne()
let handCards = [card1, card2, card3, card4, card5]
let hand = DPokerLib.hand.hand(handCards)
CARD_MARK.SPADE
CARD_MARK.HEART
CARD_MARK.DIAMOND
CARD_MARK.CLUB
CARD_MARK.JOKER
HAND_LIST.ROYAL_FLUSH
HAND_LIST.FIVE_CARD
HAND_LIST.STRATIGHT_FLUSH
HAND_LIST.FOUR_CARD
HAND_LIST.FULL_HAUSE
HAND_LIST.FLUSH
HAND_LIST.STRAIGHT
HAND_LIST.THREE_CARD
HAND_LIST.TWO_PAIR
HAND_LIST.ONE_PAIR
HAND_LIST.HIGH_CARD