Rhyme

Out of all the awesome module that James Halliday A.K.A substack has authored a module named rhyme a rhyming dictionary! This made it to the nmotw list ;)

The module makes use of CMU dictionary's data and picks up pronounce, syllables and plays around lazily to generate rhyming words for a given word.

Example Usage:

1
2
3
4
5
var rhyme = require('rhyme');

rhyme(function(r) {
  console.log(r.rhyme('rhyme').join(' '));
});
1
2
$ node why.js
BEIM CHIME CLIMB CRIME DIME GRIME HAIM HEIM HIME I'M KIME LIME LYME MIME PRIME SEIM SIME SLIME SYME THYME TIME

GIF FTW!

rhyme

Real coders use cat ;)?

Keep rhyming till next week!

Suggest a module

Comments