Added check for stream and republished on npm