npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

yuomi

v1.0.5

Published

a simple but powerful server with a lot of features supported

Downloads

16

Readme

LeiamNash

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

Chromechrome | Firefoxfirefox | Safarisafari | Operaopera | Edgeedge | IEinternet explorer | --- | --- | --- | --- | --- | --- | version 111.0. 1|version 111.0. 1|version 16.3|version 97.0.4719.17|version 110.0.1587.69|version 11|

leiamnash

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: LeiamNash 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: LeiamNash 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: LeiamNash 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: leiamnash 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: leiamnash you can easily notice the error output on your console by using the error tag on it

facebook

const { facebook } = require("yuomi");

facebook.get("https://fb.watch/jKl88Swrr4/").then(yume => {
  console.log(yume);
});

result: leiamnash 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

google

const { google } = require("yuomi");

google("anime").then(yume => {
  console.log(yume);
});

result: leiamnash this is written in json output showing only 6 results also you can manipulate this in object for example

console.log(yume[0].description);

leiamnash 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: leiamnash 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);

leiamnash 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: leiamnash 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: leiamnash 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: leiamnash 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

instagram

const { instagram } = require("yuomi");

instagram.get("https://www.instagram.com/tv/CdmYaq3LAYo/").then(yome => {
  console.log(yome);
}

result: leiamnash 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: leiamnash 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 leiamnash


error => your console will only notify you if there's any error leiamnash


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: leiamnash 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: leiamnash 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