Skip to content
/ rhymes Public

Give me an English word and I’ll give you a list of rhymes

License

Notifications You must be signed in to change notification settings

words/rhymes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rhymes

Build Coverage Downloads Size

Give me an English word and I’ll give you a list of rhymes.

Install

npm:

npm install rhymes

Use

var rhymes = require('rhymes')

console.log(rhymes('cat'))

Yields:

[
  {score: 3, pron: 'S K AE1 T', word: 'scat'},
  {score: 2, pron: 'AA0 R N AE1 T', word: 'arnatt'},
  {score: 2, pron: 'AE1 T', word: 'at'},
  {score: 2, pron: 'AE1 T B AE1 T', word: 'at-bat'},
  {score: 2, pron: 'B AE2 L IY0 AE1 T', word: 'balyeat'},
  {score: 2, pron: 'B AE1 T', word: 'bat'},
  {score: 2, pron: 'B AE1 T', word: 'batt'},
  {score: 2, pron: 'B AE1 T', word: 'batte'},
  {score: 2, pron: 'B IH0 G AE1 T', word: 'begat'},
  {score: 2, pron: 'B AE1 T', word: 'bhatt'},
  // …and 10 more results.
]

API

rhymes(value)

Pass in an English word, and I’ll give you up to 20 words it rhymes with.

License

ISC © Zeke Sikelianos

About

Give me an English word and I’ll give you a list of rhymes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •