This library delivers a brotli compression using magic numbers as a prefix to the generated stream, so the compression is identifiable. The magic numbers are selecting following the proposal here, yet only the magic numbers was considered to it, so it is not a perfect implementation
How to Install
npm i @multi-serializer/magic-brotli
Licensed under MIT.