Skip to content

Commit

Permalink
Merge pull request #7 from tilfin/feature/es-modules
Browse files Browse the repository at this point in the history
ES Modules
  • Loading branch information
tilfin authored Aug 7, 2019
2 parents 15eb361 + 4482a39 commit c1bd744
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Transform = require('stream').Transform;
const { Transform } = require('stream');

/**
* The ReadlineTransform is reading String or Buffer content from a Readable stream
Expand Down Expand Up @@ -69,4 +69,4 @@ class ReadlineTransform extends Transform {
}
}

module.exports = ReadlineTransform;
module.exports = exports.default = ReadlineTransform;

0 comments on commit c1bd744

Please sign in to comment.