0.1.3 • Published 12 months ago

decode-big5 v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

decode-big5

A simple wrapper for iconv-lite to decode big5 encoded buffers to utf8 strings.

Installation

npm install decode-big5

or

yarn add decode-big5

Usage

import { decodeBig5 } from "decode-big5";

const response = await got.get("https://some.chinese.website.com");
const decodedBody = decodeBig5(response.rawBody);
console.log(decodedBody); // Decoded string
0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago