text-meme-cli

1.1.0 • Public • Published

text-meme-cli

Generate text meme

Install

$ npm install --global text-meme-cli

Usage

$ text-meme --help

  Usage
    $ text-meme "Don't forget to be awesome"

  Options
    --delay       Frame delay [Default: 500]
    --background  Background color in hex [Default: #000000]
    --fontcolor   Text color in hex [Default: #ffffff]
    --filename    Filename without extension [Default: meme-123]
    --fontsize    Text size [Default: 50]
    --imagesize   Image size in px [Default: 600]

  Examples
    $ text-meme "Don't forget to be awesome"
    generated text-meme → meme-326.gif
    $ text-meme "Don't forget to be awesome" --filename=quote --background=#4f656d --imagesize=500
    generated text-meme → quote.gif

Related

Note

This module uses canvas module as dependency which requires Cairo check here how to install it.

License

MIT © beatfreaker

Package Sidebar

Install

npm i text-meme-cli

Weekly Downloads

6

Version

1.1.0

License

MIT

Last publish

Collaborators

  • beatfreaker