pig-stream
Version:
A stream that converts all input into pig latin
17 lines (12 loc) • 458 B
Markdown
The PLTS transforms any string input into Pig Latin.
I made PLTS because I really wanted to try implementing streams and Pig Latin came to mind... because *ywhay otnay*?
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);
```