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

@zargovv/easygif

v1.0.0-rc0

Published

Extract and render GIF frames easily

Downloads

2

Readme

EasyGIF

Extract and render GIF frames easily

Status: Hopefully stable lol

Probably the most unstable thing in this package is the README

This package utilizes ffmpeg for extracting and combining frames. Thus, you have to install it for the package to work properly.

Python bindings will probably be available soon

Oh, and the install script also can be unstable. Have you seen that garbage? Please don't.

FF (Fast-Forward)

Examples

The most basic usage is described in this section

// The example is not loaded, please clear your caches and check if it's available yet

Installation

$ node scripts/install

Alternatively, you may check the Manual Installation section

Manual Installation

  • Make sure you have ffmpeg binaries in your PATH environment variable
    • Otherwise, you may include the binaries in the bin folder for the package to catch up
  • Download the corresponding EasyGIF binaries. Make sure that the version of the package matches with the binary version. Once you got the binary, just put it into the bin folder

Potential Issues

You may face a few difficulties while installing and using the package. Just be prepared for them, so you won't waste your time

  • CWD sensitivity
    • The installation script is sensitive to the CWD, so it may install the binaries somewhere it cannot access itself lol
    • Uh.. well the binary itself is also suffering from the same thing
    • Manual Fix You just execute the install script and your app from the correct directory duh
    • You better fix the package than asking users to use it as you want, you d***ss! I'll look into it if it eventually become a larger problem. If you face any issues, or you really want this to be fixed, consider opening an issue.
  • I cannot come around with any others.

Release?

Will you ever release this package to NPM?

Uhmm.. maybe? Fortunately the package itself is fully capable of doing it. All the scripts are compatible and ready for an easy release. However, I don't see any reasons to release it to the registry for everyone. If you think this package should be there, you may open an issue

Btw, the @zargovv/easygif package is reserved by me (I'm shocked myself) on NPM, so no one can steal it at any point. Have you heard of malwares on the registry?

In fact I might get lazy to configure the .npmignore file and not release the package at all though

Sources?

What's wrong with the source code?

This question is actually irrelevant. Initially, I didn't want to publish the source code on github, leaving only the scripts and the types/JS bindings. The reason for that are the native stuff from the Rust code. It's a nonsense that this kind of an easy library requires that much of FFI garbage. The sources themself only contain 3 (maybe more, I might forget to update the readme) *technically* one-liner functions. But I'm just so frustrated that JavaScript is not capable of easy multi-threading in promise-like way, so here is the package that can handle it for you

Issuing

If you've caught bug or got a proposal, feel free to open an issue.

I'm too lazy to prepare some sort of a guideline. Please just describe issues as clearly as possible. Much appreciated

Contributing

This package is quite simple and I don't feel like it may need any major maintenance. Sorry, but most likely the contributions will just be ignored

Maintenance

Check out the Contributing section