0.0.1 • Published 3 years ago
hiccup v0.0.1
Hiccup
Create streams that simulate slow, sloth-like behavior
Example
var hiccup = require("hiccup");
// create slow buffer; emits ~3 bytes every ~200 ms
var fattie = new hiccup.Buffer(3, 200);
fattie.pipe(process.stdout);
// see the fattie dream in real-time
fattie.write("Spare ribs ribeye pancetta meatball ham hock tongue fatback \
drumstick tenderloin. Cow ribeye turducken, pancetta short loin shoulder \
pork belly venison biltong. Capicola ball tip venison kielbasa cow \
hamburger shankle biltong beef shank frankfurter pastrami pork chicken.\n\n");
fattie.write("Meatball turducken ribeye pastrami, chuck turkey sirloin. \
Venison capicola rump pork loin. Flank frankfurter bacon capicola.\n\n");