{"id":19904054,"url":"https://github.com/wearerobos/random-text-parser","last_synced_at":"2026-04-18T11:34:34.183Z","repository":{"id":65472154,"uuid":"86366982","full_name":"wearerobos/random-text-parser","owner":"wearerobos","description":"Generate dynamic text by randomizing sentences between parenthesis and separated by pipes :page_facing_up:","archived":false,"fork":false,"pushed_at":"2018-08-27T20:00:24.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-12T17:46:35.512Z","etag":null,"topics":["nodejs","oss","random-generation","random-sentences","text-renderer"],"latest_commit_sha":null,"homepage":null,"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/wearerobos.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":"2017-03-27T17:55:37.000Z","updated_at":"2018-08-27T20:00:25.000Z","dependencies_parsed_at":"2023-01-25T01:45:20.109Z","dependency_job_id":null,"html_url":"https://github.com/wearerobos/random-text-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wearerobos/random-text-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearerobos%2Frandom-text-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearerobos%2Frandom-text-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearerobos%2Frandom-text-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearerobos%2Frandom-text-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wearerobos","download_url":"https://codeload.github.com/wearerobos/random-text-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearerobos%2Frandom-text-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31967037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["nodejs","oss","random-generation","random-sentences","text-renderer"],"created_at":"2024-11-12T20:26:27.130Z","updated_at":"2026-04-18T11:34:34.147Z","avatar_url":"https://github.com/wearerobos.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Random Text Parser :memo:\n\nGenerate random text by randomizing sentences between parenthesis separated by pipe.\n\n## Example\n\n`randomTextParser(\"I (don't|do|really) mind if you do this ((even if it hurts|bacause it may hurt) me)\");`\n\nReturns random sentence:\n\u003e I don't mind if you do this (bacause it may hurt me)\n\u003e\n\u003e I do mind if you do this (bacause it may hurt me)\n\u003e\n\u003e I really mind if you do this (even if it hurts me)\n\u003e\n\u003e I really mind if you do this (even if it hurts me)\n\u003e\n\u003e ...\n\n# Installation\n`npm install @wearerobos/random-text-parser --save`\n\n## Usage\n\nJust create your text with the random part between (parenthesis) and separated by |pipes| and pass it as first parameter to Random Text Parser.\n\nYou may even have nested \"random objects\".\n\n```\nconst randomTextParser = require('@wearerobos/random-text-parser');\nrandomTextParser(\"I ((don't|do|really) mind|will (kill|hug|look for) you)|make you mine) if you do this.\")\n```\n\n## Contributing\nHope you enjoy this and contribute!\n\nWe are using ES5 syntax for better compatibility.\n\nPlease, test your pull requests. We are using Mocha and Chai for testing.\n\nAny doubt, feel free to ask.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwearerobos%2Frandom-text-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwearerobos%2Frandom-text-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwearerobos%2Frandom-text-parser/lists"}