Move module to index.js
Rewrite for streams2; v1.0.0