0.0.2 • Published 2 years ago

tastebin v0.0.2

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

Welcome To TasteBin

Hello I'm Asta Wlc To My Package

Save Text's + any codes for Free And Unlimited storage ...

Create Taste ...

const short = require('tastebin');
(async () => {
   const taste = await createTaste(`console.log("Hi");`);
   //You Can See The Output With Log Function
   console.log(taste); // {
                         // "url" : "https://www.tastebin.gq/Something",
                         // "id" : "Something"
                         // }
})

Get Taste Data ...

const short = require('tastebin');
(async () => {
   const taste = await getTaste(`https://www.tastebin.gq/Something`);
   //Or
   const taste = await getTaste(`Something`);
   console.log(taste); // Code Text ....
})