1.0.1 • Published 1 year ago

fetch-charset-detection v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
1 year ago

fetch-charset-detection

Detect the encoding of a buffer and stringify it. Originally from node-fetch.

Install

npm install fetch-charset-detection

Usage

import convertBody from 'fetch-charset-detection';

convertBody(content);

API

convertBody(content, headers?)

content

Type: Buffer | TypedArray

The content to stringify.

headers

Type: Headers

The HTTP headers provided with the content.

1.0.1

1 year ago

1.0.0

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago