socially-distanced-capacity

Calculates the maximum capacity of people for safe social distancing within given dimension of an indoor space

Usage no npm install needed!

<script type="module">
  import sociallyDistancedCapacity from 'https://cdn.skypack.dev/socially-distanced-capacity';
</script>

README

SafeCapacity

Overview

This module calculates the number of people who can safely occupy a space with social distancing.

It runs on the command line and requires to inputs, the length and width of the space. Then based on the dimensions given, it returns to the terminal a maximum capacity number.

To run

From CLI enter node index.js in the appropriate directory

Update

Modified to include in the calculation the average space each person is likely to occupy.