Skip to content

Image-core v1.0.5

Choose a tag to compare

@Sstudiosdev Sstudiosdev released this 23 Feb 16:18
· 57 commits to main since this release
c6d08b9

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

Contributors