Detect the encoding of a buffer and stringify it. Originally from node-fetch.
npm install fetch-charset-detectionimport convertBody from 'fetch-charset-detection';
convertBody(content);Type: Buffer | TypedArray
The content to stringify.
Type: Headers
The HTTP headers provided with the content.