Skip to content

Commit

Permalink
docs(@sounisi5011/encrypted-archive): remove unnecessary require()
Browse files Browse the repository at this point in the history
…statements from the example code in the README.md (#662)

The example code for the Async Iteration API contained unnecessary code: the code to import the `stream` module.
  • Loading branch information
sounisi5011 authored Feb 19, 2023
1 parent 4059949 commit 6dd96ab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/encrypted-archive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ stream.pipeline(

```js
const fs = require('fs');
const stream = require('stream');
const { encryptIterator, decryptIterator } = require('@sounisi5011/encrypted-archive');

const password = '1234';
Expand Down

0 comments on commit 6dd96ab

Please sign in to comment.