2.2.0 • Published 7 months ago

create-quote-image v2.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months 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]);
2.2.0

7 months ago

2.1.0

10 months ago

2.0.0

10 months ago

1.1.0

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago