1.2.4 • Published 2 years ago

spotify-card v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Generate song embeds easily !

Preview

spotify-card

Table of Contents

About

This is a nodejs utility to generate song embeds using skia-canvas.

The package is named spotify-card because I wanted to only add spotify support at the beginning but I ended up adding support for other platforms.

Currently supported plaforms: Spotify, Soundcloud, Youtube and Deezer

Prerequisites

Installing

You can install this package from the npm registry

yarn add spotify-card

or with the npm cli:

npm install spotify-card

Usage

Example (typescript)

import { generate } from "spotify-card";
import path from "path";
import fs from "fs";

(async () => {
    const image = await generate({
        url: "spotify:track:33yAEqzKXexYM3WlOYtTfQ",
    });
    fs.writeFileSync(path.join(__dirname, "test_image.png"), image);
})();
1.2.4

2 years ago

1.2.2

2 years ago

1.2.0

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.2.1

2 years ago

1.1.10

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.16

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.11

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.10

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2-0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago