2.0.0 • Published 2 years ago

textprome-scraper v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Installing

yarn add textprome-scraper

or

npm i textprome-scraper

🎈 Usage

var fs = require('fs')
var TextPro = require('textprome-scraper')

var text_pro = new TextPro()

Create only one text image

var image1 = await text_pro.one_text_create(
    'https://textpro.me/neon-light-text-effect-with-galaxy-style-981.html',
    'Nimesh Official'
    )
var img1_buf = await text_pro.image_to_buffer(image1.url)
fs.writeFileSync('./'+image1.file_name,img1_buf)s

Create double text image

var image2 = await text_pro.double_text_create(
    'https://textpro.me/generate-a-free-logo-in-pornhub-style-online-977.html',
    'Nimesh',
    'Official'
    )
var img2_buf = await text_pro.image_to_buffer(image2.url)
fs.writeFileSync('./'+image2.file_name,img2_buf)s