This looks good, but I think we can reduce it further:

```js
// starting at line 18
if (typeof unit === "function") {
  callback = unit;
  unit = "value";
}

this.on("data", function() {
   var value = this[unit] | 0; 
   ...
});
```

what do you think?