{"id":27049006,"url":"https://github.com/foobar404/rhyme.js","last_synced_at":"2026-05-18T09:36:26.286Z","repository":{"id":111005533,"uuid":"191029174","full_name":"foobar404/rhyme.js","owner":"foobar404","description":"Rhyme.js is a small javascript library that can detect different rhyming styles between 2 words. ","archived":false,"fork":false,"pushed_at":"2023-02-02T16:59:37.000Z","size":1076,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-08T18:55:54.317Z","etag":null,"topics":["javascript","library","rhymes","rhyming"],"latest_commit_sha":null,"homepage":"https://foobar404.github.io/rhyme.js/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foobar404.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,"zenodo":null}},"created_at":"2019-06-09T16:23:46.000Z","updated_at":"2024-05-23T21:56:46.000Z","dependencies_parsed_at":"2023-04-05T02:31:54.253Z","dependency_job_id":null,"html_url":"https://github.com/foobar404/rhyme.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/foobar404/rhyme.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foobar404%2Frhyme.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foobar404%2Frhyme.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foobar404%2Frhyme.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foobar404%2Frhyme.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foobar404","download_url":"https://codeload.github.com/foobar404/rhyme.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foobar404%2Frhyme.js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33172745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["javascript","library","rhymes","rhyming"],"created_at":"2025-04-05T07:18:36.215Z","updated_at":"2026-05-18T09:36:26.281Z","avatar_url":"https://github.com/foobar404.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rhyme.js\nsmall javascript library for testing if 2 words rhyme\n\n\u003ch1\u003eInstallation\u003c/h1\u003e\n\u003ch3\u003eCDN\u003c/h3\u003e\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/foobar404/rhyme.js/js/rhyme.js\"\u003e\u003c/script\u003e\n```\n\n\u003ch3\u003eLocal file\u003c/h3\u003e\n\u003cp\u003edownload \u003ca href=\"./js/rhyme.js\"\u003e/js/rhyme.js\u003c/a\u003e and include it in your project\u003c/p\u003e\n\n\u003ch1\u003eExample\u003c/h1\u003e\n\n```javascript\nlet r = new Rhyme();\nlet result = r.rhymesWith(\"can\",\"man\");\n\nif(result.rhymes)\n  alert(\"these words rhyme\");\n```\n\n\u003ch1\u003eDocs\u003c/h1\u003e\n\n\u003ch3\u003eFunctions\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003erhymesWith(word1, word2, options(optional))\u003c/li\u003e\n  \u003cul\u003e\n    \u003cli\u003eword1 \u0026 word2 are the strings you want to compare\u003c/li\u003e\n    \u003cli\u003eoptions is a object with optinal properties\u003c/li\u003e\n    \u003cul\u003e\n      \u003cli\u003emode\u003c/li\u003e\n      \u003cul\u003e\n        \u003cli\u003estrict : only match rhyme schemes with obvious rhymes(default)\u003c/li\u003e\n        \u003cli\u003eloose : match all known rhyming patterns\u003c/li\u003e\n      \u003c/ul\u003e\n    \u003c/ul\u003e\n    \u003cli\u003ereturn value is a object with two properties\u003c/li\u003e\n    \u003cul\u003e\n      \u003cli\u003etypes : an array of the types of rhymes that matched\u003c/li\u003e\n      \u003cli\u003erhymes : a boolean value thats true if a rhyme was found\u003c/li\u003e\n    \u003c/ul\u003e\n  \u003c/ul\u003e\n  \u003cli\u003eassonant(word1,word2)\u003c/li\u003e\n  \u003cul\u003e\n    \u003cli\u003ethis is the rhyming of vowels in words but with different consonants\u003c/li\u003e\n    \u003cli\u003ereturn value is a boolean, retuns true if match was found\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003cli\u003econsonant(word1,word2)\u003c/li\u003e\n  \u003cul\u003e\n    \u003cli\u003ethis is the rhyming of consonants but not vowels\u003c/li\u003e\n    \u003cli\u003ereturn value is a boolean, retuns true if match was found\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003cli\u003eeye(word1,word2)\u003c/li\u003e\n  \u003cul\u003e\n    \u003cli\u003ethe rhyming in this type is based on spelling and not sound\u003c/li\u003e\n    \u003cli\u003ereturn value is a boolean, retuns true if match was found\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003cli\u003efeminine(word1,word2)\u003c/li\u003e\n  \u003cul\u003e\n    \u003cli\u003ealso referred to as double, triple, multiple, extra-syllable, extended, this has different beginnings of the words, but rhymes latter syllables\u003c/li\u003e\n    \u003cli\u003ereturn value is a boolean, retuns true if match was found\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003cli\u003ehead(word1,word2)\u003c/li\u003e\n  \u003cul\u003e\n    \u003cli\u003ealso called alliteration or initial rhyme, this has the same initial consonant at the beginning of the words\u003c/li\u003e\n    \u003cli\u003ereturn value is a boolean, retuns true if match was found\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003cli\u003eidentical(word1,word2)\u003c/li\u003e\n  \u003cul\u003e\n    \u003cli\u003ethis is rhyming a word with itself, but often refers to a different meaning\u003c/li\u003e\n    \u003cli\u003ereturn value is a boolean, retuns true if match was found\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003cli\u003enear(word1,word2)\u003c/li\u003e\n  \u003cul\u003e\n    \u003cli\u003ealso referred to as half, slant, approximate, off, and oblique, this rhymes the final consonants but not the vowels or initial consonants\u003c/li\u003e\n    \u003cli\u003ereturn value is a boolean, retuns true if match was found\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003cli\u003esyllabic(word1,word2)\u003c/li\u003e\n  \u003cul\u003e\n    \u003cli\u003erhyming the last syllable, this is also called tail or end rhyme\u003c/li\u003e\n    \u003cli\u003ereturn value is a boolean, retuns true if match was found\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003cli\u003emasculine(word1,word2)\u003c/li\u003e\n  \u003cul\u003e\n    \u003cli\u003ein this rhyme, the stress in on the final syllable in both words\u003c/li\u003e\n    \u003cli\u003ereturn value is a boolean, retuns true if match was found\u003c/li\u003e\n  \u003c/ul\u003e\n  \u003cli\u003eperfect(word1,word2)\u003c/li\u003e\n  \u003cul\u003e\n    \u003cli\u003esometimes called exact, full or true, this rhyme is the typical rhyme where the ending sounds match\u003c/li\u003e\n    \u003cli\u003ereturn value is a boolean, retuns true if match was found\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eUtility functions\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003egetSyllables(word)\u003c/li\u003e\n  \u003cul\u003ereturn value is an array of the word seperated into syllables (90% accuracy)\u003c/ul\u003e\n\u003c/ul\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoobar404%2Frhyme.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoobar404%2Frhyme.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoobar404%2Frhyme.js/lists"}