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

module-gatadios

v1.0.9

Published

Módulo para obtener información y imágenes random.

Downloads

12,600

Readme

🌱 module-gatadios

Este módulo ofrece funciones para obtener información de imágenes de manera aleatoria, centrándose principalmente en contenido relacionado con Yaoi. Sin embargo, este proyecto está abierto a modificaciones y a la incorporación de nuevas ideas.

💥 Requisitos

Este módulo requiere Node.js y npm instalados en su entorno de desarrollo.

💻 Instalación

Puede instalar este módulo en tu proyecto utilizando el siguiente comando:

npm i module-gatadios

📁 Agregar a package.json

"dependencies": {
  "module-gatadios": "^1.0.8"
}

💫 Información de imagen

| Categoría | Función | Campos | Archivo | Resultado | Contenido (+18) | |-----------|-----------|-----------|-----------|-----------|-----------| | Yaoi | getRandomImage() | link author name description | Aquí | Imagen + información | ❌ | | Boys | getRandomImageBoys() | ninguno | Aquí | Imagen | ❌ | | Nsfw | getRandomImageNsfw() | texto | Aquí | Imagen | ✅ |

🖥️ Documentación

const yaoiImages = require('module-gatadios')

const resultJson = yaoiImages.getRandomImage()

const link = resultFields.link
const author = resultFields.author
const name = resultFields.name
const description = resultFields.description

console.log('Link: ', link)
console.log('Author: ', author)
console.log('Name: ', name)
console.log('Description: ', description)

NOTA: Si el código arroja un error o advertencia, exponga el caso midiande un issue. Si cree saber la solución no dude hacer un pull request.

const yaoiImages = require('module-gatadios')

const resultJson = yaoiImages.getRandomImage()
const jsonText = JSON.stringify(resultJson, null, 2)

console.log(jsonText)  
const getRandomImageBoys = require('module-gatadios')

const randomImage = getRandomImageBoys()

if (randomImage) {
console.log('Imagen aleatoria:', randomImage)
} else {
console.log('Error al obtener la imagen.')
}
  • nsfwfoot, nsfwloli
const getRandomImageNsfw = require('module-gatadios')
let keyword = 'nsfwfoot'
let randomImage = getRandomImageNsfw(keyword)
if (randomImage) {
console.log('Imagen aleatoria: ', randomImage)
} else {
console.log('No se pudo obtener una imagen aleatoria.')
}

Contribuye al Proyecto

😸 ¿Cómo Puedes Contribuir?

Contribuir es fácil y no importa si eres un desarrollador experimentado o si estás dando tus primeros pasos. Aquí te dejo algunas formas en las que puedes ayudar:

🤔 Encuentra un Problema

Si encuentras un error, un problema o simplemente tienes una idea para mejorar, ¡haznoslo saber! Abre un issue y describe lo que estás experimentando.

🛠 Realiza Cambios

¿Tienes la solución para un problema o una nueva característica que te gustaría agregar? ¡Perfecto! Haz un fork del repositorio, realiza tus cambios y envíanos un pull request. Estaré encantada de revisar y fusionar las contribuciones.

🌐 Mejora la Documentación

La documentación clara es esencial. Si encuentras partes confusas o tienes ideas para mejorarla, ¡estamos abiertos a sugerencias! Realiza cambios en la documentación y envía un pull request.

¿Por Qué Contribuir?

🤝 Formar parte de una comunidad activa y amigable.

🚀 Aprender y mejorar.

🌍 Colaborar ea ayudar a personas de todo el mundo.

✨ ¡Esperamos tus pull requests! ✨


🌟 CREADORA

GataNina-Li

Este proyecto está bajo la Licencia MIT - vea el archivo LICENSE para más detalles.