Skip to content

Commit

Permalink
fixup! fixup! zlib: expose zlib.crc32()
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Apr 25, 2024
1 parent d9057fc commit 278dfef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/zlib.md
Expand Up @@ -736,10 +736,10 @@ be encoded with UTF-8 before being used for computation. If users only
uses Node.js to compute and check the checksums, this works well with
other APIs that uses the UTF-8 encoding by default.

Some third-party JavaScript libraries that compute the checksum on a
Some third-party JavaScript libraries compute the checksum on a
string based on `str.charCodeAt()` so that it can be run in browsers.
If users want to match the checksum computed with this kind of library
from the browser, it's better to use the same library in Node.js
in the browser, it's better to use the same library in Node.js
if it also runs in Node.js. If users have to use `zlib.crc32()` to
match the checksum produced by such a third-party library:

Expand Down

0 comments on commit 278dfef

Please sign in to comment.