game-inventory
v0.0.1
Published
<h1 align="center"> game-inventory </h1> <h4 align="center"> Inventory system for games </h4>
Downloads
2
Readme
:sparkles: Features
- Written in TypeScript
- Mutable and immutable APIs
- Zero dependencies
:wrench: Example usage
:package: Install
npm
npm install game-inventory
yarn
yarn add game-inventory
:newspaper: API
If not enough to add / subtract everything, you will get the remainder back.
Options
Optimize stack:
Will always attempt to combine stacks automatically where possible.