UNPKG

pig-stream

Version:

A stream that converts all input into pig latin

17 lines (12 loc) 458 B
# Pig Latin Transform Stream # ## Things he do ## The PLTS transforms any string input into Pig Latin. ## WHY!? ## I made PLTS because I really wanted to try implementing streams and Pig Latin came to mind... because *ywhay otnay*? ## Usage ## To convert any input into pig latin, just pass a stream through the PLTS. ```javascript var PigStream = require('pig-stream'); var pstream = new PigStream; process.stdin.pipe(pstream).pipe(process.stdout); ```