@chengaoyuan/shuffle

洗牌算法

Usage no npm install needed!

<script type="module">
  import chengaoyuanShuffle from 'https://cdn.skypack.dev/@chengaoyuan/shuffle';
</script>

README

shuffle

npm version install size NPM Downloads Build Status Coverage Status

Installation

$ npm install @chengaoyuan/shuffle

Usage

import shuffle from "@chengaoyuan/shuffle";
shuffle([1, 2, 3, 4, 5]); // [...]

Testing

$ npm test