4.1.4 • Published 1 month ago

cqimg v4.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

Create Quote Image

Description

This is a simple package to create a quote image from a given text. like this:

Features

  • Random background color

Usage

Install packages:

npm i create-quote-image

Use random color:

const createQuoteImage = require('create-quote-image').default;

const quote = {
  text: 'This is a quote',
  author: 'Me',
}

createQuoteImage(quote, 'path/to/image.png');

Customize color:

const createQuoteImage = require('create-quote-image').default;

const quote = {
  text: 'This is a quote',
  author: 'Me',
}

createQuoteImage(quote, 'path/to/image.png', createQuoteImage.colors[2]);
4.1.4

1 month ago

4.1.3

1 month ago

4.1.2

1 month ago

4.1.1

1 month ago