lgbt

1.0.8 β€’ Public β€’ Published

LGBT

Putin

Node.js utilities to LGBTize anything.

Check out Telegram bot that paints pictures to LGBT flag.

lgbt(pathToImage: string)

Uses ImageMagick's hue shifting under the hood

Example:

import { lgbt } from 'lgbt'

const bufferResult = await lgbt('/Users/Putin/Desktop/me.png')
console.log(bufferResult)

lgbtPhrase(phrase: string)

Insert rainbow flags AND other lgbt-ish things πŸ’…πŸΌπŸ³οΈβ€πŸŒˆ

Example:

import { lgbtPhrase } from 'lgbt'

const newPhrase = lgbtPhrase('I am 100% Straight and I am not gay.')
console.log(newPhrase) // I 🌈 am 🌈 100% πŸ’…πŸΌ Straight πŸ³οΈβ€πŸŒˆ and πŸ³οΈβ€βš§οΈ I πŸ³οΈβ€βš§οΈ am πŸ’…πŸΌ not 🌈 gay. πŸ’…πŸΌ

Readme

Keywords

none

Package Sidebar

Install

npm i lgbt

Weekly Downloads

1

Version

1.0.8

License

MIT

Unpacked Size

5.01 kB

Total Files

4

Last publish

Collaborators

  • vityaschel