Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ctalkington authored Oct 14, 2024
1 parent 0cd3170 commit 58ecd52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ You can also use `npm install https://github.com/archiverjs/node-crc32-stream/ar
Inherits [Transform Stream](http://nodejs.org/api/stream.html#stream_class_stream_transform) options and methods.

```js
const { CRC32Stream } = require("crc32-stream");
import { CRC32Stream } from "crc32-stream";

const source = fs.createReadStream("file.txt");
const checksum = new CRC32Stream();
Expand All @@ -39,7 +39,7 @@ checksum.end();
Inherits [zlib.DeflateRaw](http://nodejs.org/api/zlib.html#zlib_class_zlib_deflateraw) options and methods.

```js
const { DeflateCRC32Stream } = require("crc32-stream");
import { DeflateCRC32Stream } from "crc32-stream";

const source = fs.createReadStream("file.txt");
const checksum = new DeflateCRC32Stream();
Expand Down

0 comments on commit 58ecd52

Please sign in to comment.