Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

random-redpack

jokerchiu2ISC1.0.2

js 版本模仿微信红包算法

readme

random-redpack

js 版本模仿微信红包算法

#

npm install random-redpack --save

Usage

const randomRedPack = require('random-redpack')

let money  =  randomRedPack(isDecimal, remainParts, remainMoney)