tastebin
v0.0.2
Published
Save Codes Documents For Free Unlimited Storage
Downloads
5
Maintainers
Readme
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 ....
})