npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

best-ffmpeg

v1.0.4

Published

Absolute best way to use ffmpeg with node.

Downloads

13

Readme

best-ffmpeg-node

Looking for a ffmpeg module that's finally good? You've come to the right place my friend. Your search is over. This is the best way to use ffmpeg with node.

Advantages

Fully async

Unlike other modules best-ffmpeg is fully awaitable. No more painful callback functions and messy .then()s! Simply write await if you want execution to wait for ffmpeg to finish, if you do not, skip the await!

Simple, not OOP

No more writing 10 lines of code just to convert an image.

Compatible with 100% of ffmpeg

Most modules only support doing a few narrow operations with ffmpeg with no good way to do advanced processing with many layers and complex filters. This module supports everything ffmpeg does, and that is a lot.

The best support

Wonder how to do something, or just need help? We got you. There's more than 24998 questions answered on SO that apply to this module. There's 75 times more help avalible for this module compared to fluent-ffmpeg.

zero-dependancy

Well it's just nice isn't it?

Usage

Install the package:

npm i best-ffmpeg

If you haven't already, install FFMPEG: https://ffmpeg.org/

Now you're ready! Example usage:

const ffmpeg = require('best-ffmpeg');

// Convert a PNG file to .JPG:
await ffmpeg(`-i myImage.png myImage.jpg`)
console.log("Done!")