TypeScript rewrite
- This is a full rewrite in TypeScript and types are now bundled with 4.x.
- I've tried to keep full API compatibility with 3.x (if you find issues, please report).
buffer
dependency has been moved topeerDependencies
and there's now a way to use CRC functions without the need forBuffer
by passingInt8Array
instead. This can help keep bundle size down (for example,crc32
is 41kb minified withbuffer
and 4kb without).