{"id":24010904,"url":"https://github.com/d-salazar-se/stare.js-server","last_synced_at":"2026-05-04T00:34:55.201Z","repository":{"id":42281233,"uuid":"229877047","full_name":"d-salazar-se/stare.js-server","owner":"d-salazar-se","description":"StArE.js Server version","archived":false,"fork":false,"pushed_at":"2023-01-05T09:58:22.000Z","size":1216,"stargazers_count":0,"open_issues_count":15,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T13:54:12.970Z","etag":null,"topics":["node","node-js","nodejs","npm","npm-package","npmjs","serp"],"latest_commit_sha":null,"homepage":"https://starejs.informatica.usach.cl/","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/d-salazar-se.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-24T05:34:05.000Z","updated_at":"2020-04-09T01:45:16.000Z","dependencies_parsed_at":"2023-02-04T00:02:15.000Z","dependency_job_id":null,"html_url":"https://github.com/d-salazar-se/stare.js-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/d-salazar-se/stare.js-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-salazar-se%2Fstare.js-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-salazar-se%2Fstare.js-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-salazar-se%2Fstare.js-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-salazar-se%2Fstare.js-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-salazar-se","download_url":"https://codeload.github.com/d-salazar-se/stare.js-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-salazar-se%2Fstare.js-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32590455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"ssl_error","status_checked_at":"2026-05-03T22:09:10.534Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["node","node-js","nodejs","npm","npm-package","npmjs","serp"],"created_at":"2025-01-08T04:43:02.001Z","updated_at":"2026-05-04T00:34:55.180Z","avatar_url":"https://github.com/d-salazar-se.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StArE.js (Node.js Server version)\n\n![npm](https://img.shields.io/npm/v/stare.js)\n![npm](https://img.shields.io/npm/dm/stare.js)\n[![Build Status](https://travis-ci.com/d-salazar-se/stare.js-server.svg?branch=master)](https://travis-ci.com/d-salazar-se/stare.js-server)\n[![Coverage Status](https://coveralls.io/repos/github/d-salazar-se/stare.js-server/badge.svg?branch=master)](https://coveralls.io/github/d-salazar-se/stare.js-server?branch=master)\n![NPM](https://img.shields.io/npm/l/stare.js)\n\n## Description\nStArE.js is an open source project intended to facilitate developers the creation of alternative visualizations of search engine results page (SERP). StArE.js provides a modular and extensible processing pipeline capable of (1) transforming SERP, (2) extracting features from individual search results, and (3) visualizing SERP in multiple ways.\n\n## Installation\n\n```bash\nnpm install stare.js\n```\n## How to use\n\n```js\nconst stare = require('stare.js')(...options);\n\n// stare(searchEngine = '', query = '', pageNumber = 1, metrics = []);\nstare('google', 'What is love?', 1, ['ranking', 'language'])\n  .then(result =\u003e {\n    console.log(result);\n  })\n  .catch(err =\u003e {\n    console.error(err);\n  });\n```\n\nYou can find the most basic full example in the [examples folder](/examples/).\n\n## Resources\n\n* [npm package](https://www.npmjs.com/package/stare.js)\n* [Documentation](/docs/)\n* [Examples](/examples/)\n\n## Extensions\n\nStArE.js is currently extended with the following plugins:\n\n| SERP | Function name | Description | Documentation |\n| ------ | ------ | ------ | ------ |\n| Google | \u003ccode\u003egoogle\u003c/code\u003e | Handler for SERPs obtained through the Google Custom Search JSON API | [See docs](/docs/SERP.md#google) |\n| Bing | \u003ccode\u003ebing\u003c/code\u003e | Handler for SERPs obtained through the Bing web search API | [See docs](/docs/SERP.md#bing) |\n| Ecosia | \u003ccode\u003eecosia\u003c/code\u003e | Handler for SERPs obtained from ecosia through a web scrapper | [See docs](/docs/SERP.md#ecosia) |\n| ElasticSearch | \u003ccode\u003eelasticsearch\u003c/code\u003e | Handler for SERPs obtained from ElasticSearch (only basic support) via request-promise | [See docs](/docs/SERP.md#elasticsearch) |\n\n\n| Metrics | Metric name | Description | Documentation |\n| ------ | ------ | ------ | ------ |\n| Perspicuity | \u003ccode\u003eperspicuity\u003c/code\u003e | Reading Ease for English and Perspicuity for Spanish | [See docs](/docs/METRICS.md#perspicuity) |\n| Language | \u003ccode\u003elanguage\u003c/code\u003e | Detect the most probable language for a document | [See docs](/docs/METRICS.md#language) |\n| Length of Documents | \u003ccode\u003elength\u003c/code\u003e | Calculate the length in characters of a Document | [See docs](/docs/METRICS.md#length) |\n| Ranking | \u003ccode\u003eranking\u003c/code\u003e | Calculate the length in characters of a Document | [See docs](/docs/METRICS.md#ranking) |\n\nAs is explained in the docs you can create your own extensions for [SERP](/docs/SERP.md#create-your-own-extensions) and [metrics](/docs/METRICS.md#create-your-own-extensions) support.\n\nPlease see the full documentation [here](/docs/INDEX.md).\n\n## Debug / Logging\n\nStArE.js is powered by [debug](https://github.com/visionmedia/debug).\nIn order to see all the debug output, run your app with the environment variable\n`DEBUG` including the desired scope.\n\nTo see the output from all of StArE.js's debugging scopes you can use:\n\n```\nDEBUG=stare.js\n```\n\n## Contributors\n\n- [Roberto González-Ibáñez](https://github.com/rgonzal/)\n- [Camila Márquez](https://github.com/bellyster/)\n- [Daniel Gacitúa](https://github.com/dgacitua/)\n- [Franz Farbinger](https://github.com/DarkAnimat/)\n- [Diego Salazar S.](https://github.com/d-salazar-se/)\n\n## License\n[MIT](LICENSE)\n\n## Todo\n- Documentation\n- More examples\n- Travis-CI integration\n- Test script\n- metrics/perspicuity Support for languages other than ['en-us', 'es', 'fr']\n- personal SERP support (like metrics)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-salazar-se%2Fstare.js-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-salazar-se%2Fstare.js-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-salazar-se%2Fstare.js-server/lists"}