Ohm's Law is made from 3 mathematical equations that shows the relationship between electric voltage, current and resistance.
% npm install ohms-law
var ohmsLaw = require('ohms-law')
var voltage = ohmsLaw.getVoltage(0.01, 150)
// 1.5 (volts)
var resistance = ohmsLaw.getResistance(1.5, 0.01)
// 150 (ohms)
var current = ohmsLaw.getCurrent()
// 0.01 (amps)
% npm test