Skip to content

BlackAmda/telegram-image-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Simple image to url converter


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
})

About

Upload an image and convert into telegram link.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published