Image-core v1.0.5
In the new update 1.0.5 we have optimized the base code that are uploaded in npm we have also fixed bugs and image-core already has support with discord.js for use in discord bots and in the anime module new images have been added currently mind the module has 120 images at the moment
Example
const { getRandomAnimeImageUrl } = require('imagen-core');
// Array to store anime images
let animeImages = [];
// Function to save a new anime image to the array
async function saveAnimeImage() {
try {
const { animeImageUrlFull, imageName } = await getRandomAnimeImageUrl();
animeImages.push({ url: animeImageUrlFull, name: imageName });
console.log('Anime image saved:', { url: animeImageUrlFull, name: imageName });
} catch (error) {
console.error('Error getting anime image:', error);
}
}
// Call the function to save an anime image
saveAnimeImage();npm created by Sstudios team SstudiosDev © SstudiosTeam