Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jyf-webp-crafter

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jyf-webp-crafter

JyfWebpCrafter is an efficient tool that easily converts images to WebP format, enhancing web page loading speed.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
0
Weekly downloads
 
Created
Source

JyfWebpCrafter

Introduce

  • JyfWebpCrafter 是一款高效的工具,轻松将图片转换为 WebP 格式,提升网页加载速度。
  • JyfWebpCrafter is an efficient tool that easily converts images to WebP format, enhancing web page loading speed.

Install

# npm
npm install jyf-webp-crafter

# yarn
yarn add jyf-webp-crafter

# pnpm
pnpm add jyf-webp-crafter

# bun
bun add jyf-webp-crafter

Usage

import { srcToWebP, blobToWebP, arrayBufferToWebP } from 'jyf-webp-crafter'

const webpBlob = await srcToWebP(pngSrc, { /** options */ })
// or
const webpBlob = await blobToWebP(pngBlob, { /** options */ })
// or
const webpBlob = await arrayBufferToWebP(jpgArrayBuffer, { /** options */ })

Keywords

FAQs

Package last updated on 23 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc