@liuxspro/webp-to-png@0.0.3Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
liuxspro/libsConvert webp image to png
This package works with Cloudflare Workers, Node.js, Deno, Bun, 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
Add Package
deno add jsr:@liuxspro/webp-to-png
Import symbol
import * as webp_to_png from "@liuxspro/webp-to-png";
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
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
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";