UNPKG

socially-distanced-capacity

Version:

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

16 lines (8 loc) 479 B
# 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.