chopsuey
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Contributors Forks Stargazers Issues MIT License LinkedIn


Chop Suey

About The Project

Chop Suey 杂碎 is a stir-fried vegetable dish usually with meat or seafood.

In honor of such wonderful food, this npm package is built to imitate the elegant mixing and matching of its ingredients through the functions in combinatorics.

This includes:

  • Subsets
  • Permutations
  • Shuffle

(back to top)

Installation

   npm i chopsuey

(back to top)

Usage

import ChopSuey from 'ChopSuey';
...
for(const subset of Chopsuey.generateSubsets(array)) {
	...
}
...
import ChopSuey from 'ChopSuey';
...
const subsets = Chopsuey.geSubsets(array);
...

Package Sidebar

Install

npm i chopsuey

Weekly Downloads

0

Version

0.0.3

License

Apache-2.0

Unpacked Size

17.4 kB

Total Files

5

Last publish

Collaborators

  • jronnybravo