1.1.4 • Published 3 years ago

@jcirizar/water-jug-solver v1.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Water Jug Solver

Package to solve water jug problem and cli to execute it.

Install

npm i @jcirizar/water-jug-solver

Usage

CLI with node installed

Note: NPX will ask for confirmation to install the package, hit Enter or 'y'

npx @jcirizar/water-jug-solver 3 5 4

CLI with docker

Note: NPX will ask for confirmation to install the package, hit Enter or 'y'

docker run -it --rm node:alpine npx @jcirizar/water-jug-solver 3 5 4

In your code

import { WaterJugSolver } from '@jcirizar/water-jug-solver';

const solver = new WaterJugSolver(5, 3, 4);
console.log(solver.solve());
1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago