coffee-bear
v0.1.0
Published
Coffee measurements from blackbearcoffee.com
Downloads
3
Readme
coffee-bear
Coffee measurements from blackbearcoffee.com
Example Data
{
"2": {
"coffee": {
"ounces": "0.75",
"grams": "21.3",
"teaspoons": "12",
"tablespoons": "4",
"cups": "1/4"
},
"water": {
"fluidounces": "16",
"cups": "2",
"pints": "1",
"quarts": "1/2",
"halfgallons": "1/4",
"milliliters": "473",
"liters": "0.47"
}
}
}
Installation
npm install --save coffee-bear
Usage
var coffeeBear = require('coffee-bear');
coffeeBear(function(err, data) {
if (err) { throw err; }
// data is an object with keys 0-12
// correspoding to the cups of coffee
console.log(data);
});
Todo
- Translate all measurement values into floating point numbers.