Skip to content

tobycm/towebp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A small node.js library for converting any image to webp file format

What's New

  • TypeScript!
  • Clean code, use system binaries instead of shipped

How to use

import { cwebp, gwebp } from "towebp";

await cwebp("input.jpg", "output.webp", "-q 80")

// for gifs

await gwebp("input.gif", "output.webp", "-q 80")

About

[TRYING TO MAINTAIN] A small node.js library for converting any image to webp file format.

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 100.0%