1.1.1 • Published 3 years ago

petpicjs v1.1.1

Weekly downloads
5
License
ISC
Repository
-
Last release
3 years ago

PETPICJS

About the package:

This very cool and simple package allow to take any square pictures (ex: 500x500) and makes a petting gif from it! Useful for Discord.js bots and others! The package was made to be as simple to use as possible.

Install

npm i petpicjs

How to use:

The function makes a GIF and saves it in the same directory as the file where it was called.

EXAMPLE:

//file: index.js

Const pet = require('petpicjs');
//The picture must be a link
var picture = 'link';

pet.makeGIF(picture);
//The gif is saved as *patpat.gif* in the same directory as index.js
1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago