
💃 Getting Started ​
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
bash
$ npm i @jolly-pixel/image
# or
$ yarn add @jolly-pixel/image👀 Usage example ​
ts
import {
decodePng,
encodePng
} from "@jolly-pixel/image";
const { width, height, data } = await decodePng(bytes);
const png = await encodePng({
width,
height,
data
});📚 API ​
License ​
MIT