yuomi
v1.0.5
Published
a simple but powerful server with a lot of features supported
Downloads
13
Maintainers
Readme
installation:
npm i yuomi
Features and Usages • server • anime • console • facebook • google • http • imgur • instagram • uptime • tiktok • new shell • new duckduckgo • new anilist
Question and Answer
system adjustment: auto update is now available this can help you to be stay updated with new version of yuomi also don't worry every update is 100% tested
chrome | firefox | safari | opera | edge | internet explorer | --- | --- | --- | --- | --- | --- | version 111.0. 1|version 111.0. 1|version 16.3|version 97.0.4719.17|version 110.0.1587.69|version 11|
server
const { server } = require("yuomi");
you just need to call the server function as a variable to your main file after that your all set
result: also take note the server port is randomize and the web output is just a simple http
anime
const { anime } = require("yuomi");
anime.get({
type: "nsfw",
tag: "waifu"
}).then(yume => {
console.log(yume);
});
result:
i don't write some object output so that you can easily get the response link also please see the SAVE
example because it's have a built-in downloader
"waifu"
"neko"
"trap"
"blowjob"
"waifu"
"neko"
"shinobu"
"megumin"
"bully
"cuddle"
"cry"
"hug"
"awoo"
"kiss"
"lick"
"pat"
"smug"
"bonk"
"yeet"
"blush"
"smile"
"wave"
"highfive"
"handhold"
"nom"
"bite"
"glomp"
"slap"
"kill"
"kick"
"happy"
"wink"
"poke"
"dance"
"cringe"
const { anime } = require("yuomi");
await anime.save({
type: "nsfw",
tag: "waifu",
file: __dirname + "/cache/anime.png"
});
result: this method uses async function because you need to wait the process of image before you send the attachment also this is have a built-in downloader so all you need to do is just manipulate the file section you can set where do you want to save that file and you can also change the file format to jpg, webp, webm, etc
if you don't know how to make a async please read the ASYNC
for example
"waifu"
"neko"
"trap"
"blowjob"
"waifu"
"neko"
"shinobu"
"megumin"
"bully
"cuddle"
"cry"
"hug"
"awoo"
"kiss"
"lick"
"pat"
"smug"
"bonk"
"yeet"
"blush"
"smile"
"wave"
"highfive"
"handhold"
"nom"
"bite"
"glomp"
"slap"
"kill"
"kick"
"happy"
"wink"
"poke"
"dance"
"cringe"
const { anime } = require("yuomi");
//GET
async function leiamGet() {
const yume = await anime.get({type: "nsfw", tag: "waifu"});
console.log(yume);
}
leiamGet();
//SAVE
async function leiamSave() {
await anime.save({
type: "nsfw",
tag: "waifu",
file: __dirname + "/cache/anime.png"
});
}
leiamSave();
the results will be the same also if you're using the module exports you can use
module.exports.YOURCALL = async function({ /*CALL FUNC*/ }) { /*YOUR CODE HERE*/ }
or
exports.YOURCALL = async function({ /*CALL FUNC*/ }} { /*YOUR CODE HERE*/ }
as long as you can call the async
the await method will be worked
console
const { log } = require("yuomi");
log("text here", "NAME HERE");
result: you can easily manipulate your console.log with this, also this can help you to make your output readable
const { log } = require("yuomi");
try {
} catch (e) {
log.error("text here", "NAME HERE");
}
result:
you can easily notice the error output on your console by using the error
tag on it
const { facebook } = require("yuomi");
facebook.get("https://fb.watch/jKl88Swrr4/").then(yume => {
console.log(yume);
});
result:
how to get
link?
console.log(yume.sd);
console.log(yume.hd);
please go to the SAVE
example because it's have a built-in downloader
const { facebook } = require("yuomi");
await facebook.save({
url: "https://fb.watch/jKl88Swrr4",
type: "sd", // or "hd"
file: __dirname + "/cache/facebook.mp4"
});
this method uses async function because you need to wait the process of video before you send the attachment also this is have a built-in downloader so all you need to do is just manipulate the file section you can set where do you want to save that file and you can also change the file format to mp4a or mp3
if you don't know how to make a async please read the ASYNC
for example
the type section is only supports two format SD
and HD
what is the difference?
SD
=> standard quality (480p) low mb/kb
HD
=> high quality (1080p) large mb/2mb +
also if the facebook video doesn't supports 1080p the higher resolution gonna be downloaded (720p)
const { facebook } = require("yuomi");
//GET
async function leiamGet() {
const yume = await facebook.get("https://fb.watch/jKl88Swrr4/");
console.log(yume);
}
leiamGet();
//SAVE
async function leiamSave() {
await facebook.save({
url: "https://fb.watch/jKl88Swrr4",
type: "sd", // or "hd"
file: __dirname + "/cache/facebook.mp4"
});
}
leiamSave();
the results will be the same also if you're using the module exports you can use
module.exports.YOURCALL = async function({ /*CALL FUNC*/ }) { /*YOUR CODE HERE*/ }
or
exports.YOURCALL = async function({ /*CALL FUNC*/ }} { /*YOUR CODE HERE*/ }
as long as you can call the async
the await method will be worked
const { google } = require("yuomi");
google("anime").then(yume => {
console.log(yume);
});
result: this is written in json output showing only 6 results also you can manipulate this in object for example
console.log(yume[0].description);
you can easily get the first object results by putting a number on your variable callback
usage:
yume[0].title
yume[0].description
yume[0].url
http
const { yumi } = require("yuomi");
yumi.get("https://api.leiamnash.repl.co/brainly?lang=ph&question=tae").then(yume => {
console.log(yume);
});
result:
you can manipulate the internet by using this also you don't need to put data
to get the output you just need to follow the json of api for example
console.log(yume.question);
it's so pretty simple and easy to use right? also take note if you write yume.data.question
the output will be error because you don't need to include the data
you just need to follow the api output yume.question
const { yumi } = require("yuomi");
await yumi.save({
url: "https://github.com/LeiamNashRebirth/Package/raw/main/amv/yt1s.com%20-%20Gym%20Class%20Heroes%20%20My%20Heart%20Stereo%20%20Kimi%20No%20Nawa%20Edit_v720P.mp4",
file: __dirname + "/cache/yuomi.mp4"
});
result: this method uses async function because you need to wait the downloader to finish downloading your request before you send the attachment also you can set where do you want to save that file and you can also change the file format to jpg, png, jpeg, mp4, mp3, mp4a, webp, webm, etc
if you don't know how to make a async please read the ASYNC
for example
const { yumi } = require("yuomi");
yumi.get("https://api.waifu.pics/nsfw/waifu").then(yume => {
await yumi.load({
data: yume.url,
file: "yuomi.png"
});
});
result: you can easily download the api output just use the GET method and LOAD method this is the combination, also the LOAD method uses async function because you need to wait the process of your request before you send the attachment and you can set where do you want to save that file and you can also change the file format to jpg, png, jpeg, mp4, mp3, mp4a, webp, webm, etc
if you don't know how to make a async please read the ASYNC
for example
const { yumi } = require("yuomi");
//GET
async function leiamGet() {
const yume = await yumi.get("https://api.leiamnash.repl.co/brainly?lang=ph&question=tae");
console.log(yume);
}
leiamGet();
//SAVE
async function leiamSave() {
await yumi.save({
url: "https://github.com/LeiamNashRebirth/Package/raw/main/amv/yt1s.com%20-%20Gym%20Class%20Heroes%20%20My%20Heart%20Stereo%20%20Kimi%20No%20Nawa%20Edit_v720P.mp4",
file: __dirname + "/cache/yuomi.mp4"
});
}
leiamSave();
//LOAD
async function leiamLoad() {
const yume = await yumi.get("https://api.waifu.pics/nsfw/waifu");
await yumi.load({
data: yume.url,
file: "yuomi.png"
});
}
leiamLoad();
the results will be the same also if you're using the module exports you can use
module.exports.YOURCALL = async function({ /*CALL FUNC*/ }) { /*YOUR CODE HERE*/ }
or
exports.YOURCALL = async function({ /*CALL FUNC*/ }} { /*YOUR CODE HERE*/ }
as long as you can call the async
the await method will be worked
imgur
const { imgur } = require("yuomi");
imgur("https://i.waifu.pics/klA4WVk.jpg").then(yume => {
console.log(yume);
});
result: you can easily post and get the raw imgur link without the apikey, yes you read it right you don't need the apikey and also you can post unlimitedly
i don't write some object output so that you can easily get the response link
const { instagram } = require("yuomi");
instagram.get("https://www.instagram.com/tv/CdmYaq3LAYo/").then(yome => {
console.log(yome);
}
result:
how to get
link?
console.log(yome.video);
please read SAVE
example because it's have an built-in downloader
const { instagram } = require("yuomi");
await instagram.save({
url: "https://www.instagram.com/tv/CdmYaq3LAYo/",
file "instagram.mp4"
});
result: this method uses async function because you need to wait the process of video before you send the attachment also this is have a built-in downloader so all you need to do is just manipulate the file section you can set where do you want to save that file and you can also change the file format to mp4a or mp3
if you don't know how to make a async please read the ASYNC
for example
const { instagram } = require("yuomi");
//GET
async function leiamGet() {
const yome = await instagram.get("https://www.instagram.com/tv/CdmYaq3LAYo/");
console.log(yome);
}
leiamGet();
//SAVE
async function leiamSave() {
await instagram.save({
url: "https://www.instagram.com/tv/CdmYaq3LAYo/",
file "instagram.mp4"
});
}
leiamSave();
the results will be the same also if you're using the module exports you can use
module.exports.YOURCALL = async function({ /*CALL FUNC*/ }) { /*YOUR CODE HERE*/ }
or
exports.YOURCALL = async function({ /*CALL FUNC*/ }} { /*YOUR CODE HERE*/ }
as long as you can call the async
the await method will be worked
uptime
const { uptime } = require("yuomi");
uptime({
url: "",
console: "online"
});
the console supports only three functions online
error
and silent
what is the difference?
online
=> your console will notify you if your link is online or not
error
=> your console will only notify you if there's any error
silent
=> your console will not notify you but don't worry the uptime is still working only your console is on silent
tiktok
const { tiktok } = require("yuomi");
tiktok.get("https://vt.tiktok.com/ZS8p5EmVW/").then(yome => {
console.log(yome);
});
result:
how to get
link?
console.log(yome.noWatermark)
console.log(yome.watermark)
please read the SAVE
example because it's have a built-in downloader
const { tiktok } = require("yuomi");
await tiktok.save({
url: "https://vt.tiktok.com/ZS8p5EmVW/",
watermark: false,
file: __dirname + "/cache/tiktok.mp4"
});
result: this method uses async function because you need to wait the process of video before you send the attachment also this is have a built-in downloader so all you need to do is just manipulate the file section you can set where do you want to save that file and you can also change the file format to mp4a or mp3
if you don't know how to make a async please read the ASYNC
for example
the watermark supports only two function true
and false
what is the difference?
true
=> with watermark
false
=> no watermark
const { tiktok } = require("yuomi");
//GET
async function leiamGet() {
const yome = await tiktok.get("https://vt.tiktok.com/ZS8p5EmVW/");
console.log(yome);
}
leiamGet();
//SAVE
async function leiamSave() {
await tiktok.save({
url: "https://vt.tiktok.com/ZS8p5EmVW/",
watermark: false,
file: __dirname + "/cache/tiktok.mp4"
});
}
leiamSave();
the results will be the same also if you're using the module exports you can use
module.exports.YOURCALL = async function({ /*CALL FUNC*/ }) { /*YOUR CODE HERE*/ }
or
exports.YOURCALL = async function({ /*CALL FUNC*/ }} { /*YOUR CODE HERE*/ }
as long as you can call the async
the await method will be worked
developer LeiamNash