{"id":15048412,"url":"https://github.com/pipebits/general-search-engine","last_synced_at":"2025-04-10T01:23:02.767Z","repository":{"id":48599952,"uuid":"363743072","full_name":"pipebits/general-search-engine","owner":"pipebits","description":"This module will allow you to search for modules in npm, images in google, repos in github... without any API KEY","archived":false,"fork":false,"pushed_at":"2021-07-18T23:54:32.000Z","size":22,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T03:04:29.514Z","etag":null,"topics":["api","github","google","image","javascript","node","npm","search","wikipedia"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pipebits.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-02T20:25:07.000Z","updated_at":"2022-04-15T21:42:04.000Z","dependencies_parsed_at":"2022-09-07T05:31:14.827Z","dependency_job_id":null,"html_url":"https://github.com/pipebits/general-search-engine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pipebits%2Fgeneral-search-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pipebits%2Fgeneral-search-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pipebits%2Fgeneral-search-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pipebits%2Fgeneral-search-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pipebits","download_url":"https://codeload.github.com/pipebits/general-search-engine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248138510,"owners_count":21053865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","github","google","image","javascript","node","npm","search","wikipedia"],"created_at":"2024-09-24T21:11:32.439Z","updated_at":"2025-04-10T01:23:02.741Z","avatar_url":"https://github.com/pipebits.png","language":"JavaScript","readme":"# GENERAL SEARCH ENGINE\r\nThis module will allow you to search for modules in npm, images in google, repos in github... without any API KEY\r\n# Installation\r\nTo do the installation correctly you need to have [node](https://nodejs.org/en/) installed\r\n```\r\nnpm:\r\n\r\nnpm i general-search-engine\r\n```\r\n## Usage\r\n```js\r\nconst gse = require(\"general-search-engine\")\r\n\r\nasync  function  main(){\r\n\tlet petition = await new gse.search()\r\n\t\t.setType(\"image\")\r\n\t  .setQuery(\"pink elephant\").run()\r\n\r\nconsole.log(petition)\r\n}\r\n\r\nmain()\r\n\r\n/*\r\nThis will return an array like this:\r\n[{\r\n    image: \u003cIMAGE URL\u003e,\r\n    title: 'Pink Elephant | pint...',\r\n    from: 'pinterest.com'\r\n  },\r\n  {\r\n    image: \u003cIMAGE URL\u003e,\r\n    title: 'Buy Pink Elephant...',\r\n    from: 'amazon.com'\r\n}...]\r\n*/\r\n```\r\n## Reference\r\nFunctions references, for examples [Here](https://github.com/pipebits/general-search-engine/tree/main/tests-examples)\r\n#### 1. General\r\n|Function|Result|Comments| \r\n|--|--|--|\r\n|gse.version|:String|Package version|\r\n|gse.homepage|:String|Package homepage|\r\n|gse.bugReport|:String|Package bugReport page|\r\n|gse.contact|{...}|Contact information|\r\n||Email|Contact email\r\n||Discord|Discord tag\r\n||Github|Github profile\r\n#### 2. Search\r\n|Function|Result|Comments| \r\n|--|--|--|\r\n|new gse.search() |{...}|Contact information|\r\n||.setType(type)|Set the search type|\r\n||.setQuery(query)|Set the query to search|\r\n||.setOptions({options})|Set search options|\r\n||.run()|Make the search with the actual parameters (This funcion is asynchronous)|\r\n### Types and Return arrays:\r\n#### Npm:\r\nFind and get npm packages preview.\r\n|Return|Object params|Return| \r\n|--|--|--|\r\n|[{...} ...]|title|:String|\r\n||description|:String|\r\n||author|:String|\r\n||version|:String|\r\n||maintenance|:String|\r\n||quality|:String|\r\n||popularity|:String|\r\n#### Image:\r\nFind and get image from Google Images.\r\n|Return|Object params|Return| \r\n|--|--|--|\r\n|[{...} ...]|image|:String|\r\n||title|:String|\r\n||from|:String|\r\n#### Github:\r\nFind and get github repositories preview.\r\n|Return|Object params|Return| \r\n|--|--|--|\r\n|[{...} ...]|title|:String|\r\n||description|:String|\r\n||topics|[:String ...]|\r\n||stars|:String|\r\n#### Wikipedia:\r\nFind and get wikipedia articles preview.\r\n|Return|Object params|Return| \r\n|--|--|--|\r\n|[{...} ...]|title|:String|\r\n||description|:String|\r\n||link|[:String ...]|\r\n#### Search:\r\nFind and get pages preview from Google Search.\r\n|Return|Object params|Return| \r\n|--|--|--|\r\n|[{...} ...]|title|:String|\r\n||description|:String|\r\n||link|[:String ...]|","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpipebits%2Fgeneral-search-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpipebits%2Fgeneral-search-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpipebits%2Fgeneral-search-engine/lists"}