@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/webp-to-pngConvert webp image to png
This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers
JSR Score
100%
Published
9 hours 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
View transparency logGitHub Actions
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
npx jsr add @liuxspro/webp-to-png
Import symbol
import * as webp_to_png from "@liuxspro/webp-to-png";
Add Package
yarn dlx jsr add @liuxspro/webp-to-png
Import symbol
import * as webp_to_png from "@liuxspro/webp-to-png";
Add Package
pnpm dlx 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";