🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@beenotung/gif-to-apng

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beenotung/gif-to-apng

Convert a gif to apng, gif2apng packaged for node

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

đź–Ľ gif-to-apng

Convert a gif to apng

This module is a simple wrapper around gif2apng since i coudln't find any other modules for creating apng in node.

Install

# for code reuse
yarn add @beenotung/gif-to-apng

# for cli integration (command line)
yarn global add @beenotung/gif-to-apng

Use

in javascript

const toApng = require('@beenotung/gif-to-apng')

toApng('path/to/image.gif')
  .then(() => console.log('Done 🎉'))
  .catch(error => console.log('Something went wrong đź’€', error))

or in the shell

gif-to-apng example.gif

API

toApng(source, [output])

Convert a .gif to apng

source

Type: string

Path to the gif you want to convert

output

Type: string

Optional path to output file, defaults to source with .png extension

Credits

gif2apng made by Max Stepin

gif-to-apng made by albinekb

Keywords

gif

FAQs

Package last updated on 13 Jun 2018

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