JSPM

image-search-engine

1.2.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q44102F
  • License MIT

Lets you get the url of a image of any querry

Package Exports

  • image-search-engine

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (image-search-engine) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

IMAGE SEARCH ENGINE

This module allows you to easily find the URL of images of any query as well as filtering between size, colors and types of images (You do not need a google API-key)

Installation

To do the installation correctly you need to have node installed

npm:
npm i discord-image-finder

Usage

const  image_finder  =  require("image-search-engine")
async  function  printUrl(query){
    console.log(await  image_finder.find(query))
}
//This will return an image url
console.log(await  image_finder.find("Pink Elephant", {size: "large", color: "pink"}))
//This will return an image of a pink elephant

Options

Query: Query to search default: none Size (optional): Image size default: all Color (optional): Color of the images default: all Type (optional): Type of the images default: all

Constraints :

Size:

Large | Medium | Small

Color:

b&w: Black & White | transparent | red | orange | yellow | green | teal | blue | purple | pink | white | gray | black | brown

Type:

cp: Clip Art ld: Line Art
gf: Gif (It will get the first frame of the gif)