{"id":20166128,"url":"https://github.com/robertjgabriel/html-to-array","last_synced_at":"2025-04-10T01:20:43.752Z","repository":{"id":83357775,"uuid":"157949125","full_name":"RobertJGabriel/html-to-array","owner":"RobertJGabriel","description":"Scrap a html page and convert all text on the page into an array.","archived":false,"fork":false,"pushed_at":"2018-11-17T05:04:11.000Z","size":60,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T03:01:54.250Z","etag":null,"topics":["array","daviddm-url","html","scrap","travis-url"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobertJGabriel.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-17T04:02:05.000Z","updated_at":"2021-02-08T23:11:19.000Z","dependencies_parsed_at":"2023-03-12T18:08:23.235Z","dependency_job_id":null,"html_url":"https://github.com/RobertJGabriel/html-to-array","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/RobertJGabriel%2Fhtml-to-array","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertJGabriel%2Fhtml-to-array/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertJGabriel%2Fhtml-to-array/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobertJGabriel%2Fhtml-to-array/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobertJGabriel","download_url":"https://codeload.github.com/RobertJGabriel/html-to-array/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248138144,"owners_count":21053819,"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":["array","daviddm-url","html","scrap","travis-url"],"created_at":"2024-11-14T00:42:41.218Z","updated_at":"2025-04-10T01:20:43.744Z","avatar_url":"https://github.com/RobertJGabriel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# html-to-array [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]\n\u003e Scrap a html page and convert all text on the page into an array.\n\n## Installation\n\n```sh\n$ npm install --save html-to-array\n```\n\n## Usage\n\n```js\nconst HTML_TO_ARRAY = require('html-to-array');\nconst URL = 'https://www.robertgabriel.ninja';\nHTML_TO_ARRAY.scrap(URL).then(data =\u003e)\n;\n// Returns an object\n/*\n  let object = {\n    message: 'success',\n    sentences: ['Robert gabriel is cool', 'Here is sentece two']\n  };\n*/\n// Error\n/*\n  let object = {\n    message: 'error',\n    sentences: []\n  };\n*/\n```\n## License\n\nApache-2.0 © [Robert James Gabriel](https://www.robertgabriel.ninja)\n\n\n[npm-image]: https://badge.fury.io/js/html-to-array.svg\n[npm-url]: https://npmjs.org/package/html-to-array\n[travis-image]: https://travis-ci.org/RobertJGabriel/html-to-array.svg?branch=master\n[travis-url]: https://travis-ci.org/RobertJGabriel/html-to-array\n[daviddm-image]: https://david-dm.org/RobertJGabriel/html-to-array.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/RobertJGabriel/html-to-array\n[coveralls-image]: https://coveralls.io/repos/RobertJGabriel/html-to-array/badge.svg\n[coveralls-url]: https://coveralls.io/r/RobertJGabriel/html-to-array\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertjgabriel%2Fhtml-to-array","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertjgabriel%2Fhtml-to-array","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertjgabriel%2Fhtml-to-array/lists"}