Skip to main content
Home

Built and signed on GitHub Actions

Convert webp image to png

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
a year ago (0.0.3)

Convert a webp image to png

using image to convert webp image
using wasm-pack compiled to wasm
using @libs/bundle to bundle wasm

Usage

import { webp_to_png } from "@liuxspro/webp-to-png";
const webp_data = new Uint8Array([...])
console.log(await webp_to_png(webp_data))

Build

Build and bundle wasm

deno run -A jsr:@libs/bundle/wasm/cli/build wasm_webp_to_png

Switch to nightly toolchain:

cd wasm_webp_to_png
rustup override set nightly
Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@liuxspro/webp-to-png

Import symbol

import * as webp_to_png from "@liuxspro/webp-to-png";
or

Import directly with a jsr specifier

import * as webp_to_png from "jsr:@liuxspro/webp-to-png";

Add Package

pnpm i jsr:@liuxspro/webp-to-png
or (using pnpm 10.8 or older)
pnpm dlx jsr add @liuxspro/webp-to-png

Import symbol

import * as webp_to_png from "@liuxspro/webp-to-png";

Add Package

yarn add jsr:@liuxspro/webp-to-png
or (using Yarn 4.8 or older)
yarn dlx jsr add @liuxspro/webp-to-png

Import symbol

import * as webp_to_png from "@liuxspro/webp-to-png";

Add Package

vlt install jsr:@liuxspro/webp-to-png

Import symbol

import * as webp_to_png from "@liuxspro/webp-to-png";

Add Package

npx jsr add @liuxspro/webp-to-png

Import symbol

import * as webp_to_png from "@liuxspro/webp-to-png";

Add Package

bunx jsr add @liuxspro/webp-to-png

Import symbol

import * as webp_to_png from "@liuxspro/webp-to-png";