7fab5e7fd0
* Remove tests from boilerplate Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> * fix: Comment out NODE_ENV Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
45 lines
710 B
JavaScript
45 lines
710 B
JavaScript
function ConvertHandler() {
|
|
|
|
this.getNum = function(input) {
|
|
let result;
|
|
|
|
return result;
|
|
};
|
|
|
|
this.getUnit = function(input) {
|
|
let result;
|
|
|
|
return result;
|
|
};
|
|
|
|
this.getReturnUnit = function(initUnit) {
|
|
let result;
|
|
|
|
return result;
|
|
};
|
|
|
|
this.spellOutUnit = function(unit) {
|
|
let result;
|
|
|
|
return result;
|
|
};
|
|
|
|
this.convert = function(initNum, initUnit) {
|
|
const galToL = 3.78541;
|
|
const lbsToKg = 0.453592;
|
|
const miToKm = 1.60934;
|
|
let result;
|
|
|
|
return result;
|
|
};
|
|
|
|
this.getString = function(initNum, initUnit, returnNum, returnUnit) {
|
|
let result;
|
|
|
|
return result;
|
|
};
|
|
|
|
}
|
|
|
|
module.exports = ConvertHandler;
|