0.0.9 ā€¢ Published 3 years ago

alphabcg v0.0.9

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

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!


0.0.9

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago