alphabcg

0.0.9 • Public • Published

Alphabcg 👋

Version Twitter: iambigb_

Quickly Convert any letter to image with random background

Install

npm i alphabcg

Usage

const alphabcg = require('alphabcg')

app.post('/',  async(req, res) => {
  const result = await alphabcg(req.body.letter)

  <!-- It would return a buffer data -->
  res.send(result)
})

Using alphabcg with cloudinary

const alphabcg = require('alphabcg')


app.post('/',  async(req, res) => {
    const option = {
    cloud_name: process.env.CLOUD_NAME,
    api_key: process.env.API_KEY,
    api_secret: process.env.API_SECRET,
  };
  const result = await alphabcg(req.body.letter, options)

  <!-- It would return a url -->
  res.send(result)
})

Author

👤 Bolaji Yusuf

Show your support

Give a ⭐️ if this project helped you!


Readme

Keywords

Package Sidebar

Install

npm i alphabcg

Weekly Downloads

0

Version

0.0.9

License

none

Unpacked Size

163 kB

Total Files

8

Last publish

Collaborators

  • bigb97