Skip to content

Commit

Permalink
Updated dependencies and invalid thumbnail handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
kandepatilkunal committed Feb 17, 2024
1 parent c8609a9 commit e55493c
Show file tree
Hide file tree
Showing 9 changed files with 942 additions and 118 deletions.
21 changes: 21 additions & 0 deletions examples/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
(async () => {
const { Classic } = require("../index");
const fs = require("fs")

const musicard = await Classic({
thumbnailImage: "https://lh3.googleusercontent.com/yavtBZZnoxaY21GSS_VIKSg0mvzu1b0r6arH8xvWVskoMaZ5ww3iDMgBNujnIWCt7MOkDsrKapSGCfc=w544-h544-l90-rj",
backgroundColor: "#070707",
progress: 10,
progressColor: "#FF7A00",
progressBarColor: "#5F2D00",
name: "Burn",
nameColor: "#FF7A00",
author: "By 2WEI & Edda Hayes",
authorColor: "#696969",
startTime: "0:00",
endTime: "4:00",
timeColor: "#FF7A00"
});

fs.writeFileSync("musicard.png", musicard);
})()
Loading

0 comments on commit e55493c

Please sign in to comment.