@blackamda/telegram-image-url
v1.0.0
Published
Upload an image and convert into telegram link
Downloads
25,182
Maintainers
Readme
Simple image to url converter
- Author : Black Amda
Installation
npm i @blackamda/telegram-image-url
Example
let { img2url } = require('@blackamda/telegram-image-url')
const path = './1234.jpg'
img2url(path).then(url => {
console.log(url); //=> https://telegra.ph/file/a45e08f53773b1a6a16af.jpg
})