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

0.0.6 • Public • Published

trademax

Work-in-progress: A generic library for determining maximal item exchanges among a group of people based on ranked want lists.

Work-in-progress

This will take a little time!

Thank you

The story of this code

Some people love board games. Some of those people have met up to share their games via BoardGameGeek/BGG.

Around 2007, Chris Okasaki implemented a 700-line Trade Maximizer in the Java language, and it was used to maximize the number of trades based on what games/items people have, and which of those items people want.

Around 2018, Jeff Michaud translated that Java library into a 1600-line Javascript version.

This package is an NPM module version for generic use in web applications, such as for neighbors sharing common items (see nextjs-potluck by Kevin Nguyen).

Built and packaged using create-svelte

This project was started by typing npm create svelte@latest using the "Skeleton Library" project preset, and built into an npm package by running svelte-package.

Readme

Keywords

none

Package Sidebar

Install

npm i trademax

Weekly Downloads

1

Version

0.0.6

License

none

Unpacked Size

123 kB

Total Files

12

Last publish

Collaborators

  • orenrobi