rhyming.ly
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

rhyming.ly

NPM version Build Status dependencies Status devDependencies Status Code Style: Google

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

This is a TypeScript rewrite of the original rhymes library, with some improvements

Install

Install with npm:

$ npm install --save rhyming.ly

Usage

var rhymes = require('rhyming.ly').rhymes;
rhymes('english');

Output

{
   "rhymes":[
      {
         "word":"italish",
         "score":3
      },
      {
         "word":"ticklish",
         "score":3
      },
      {
         "word":"candlish",
         "score":3
      },
      {
         "word":"churlish",
         "score":3
      },
      {
         "word":"dalgleish",
         "score":3
      },
      {
         "word":"demolish",
         "score":3
      },
      {
         "word":"devilish",
         "score":3
      },
      {
         "word":"elish",
         "score":3
      },
      {
         "word":"embellish",
         "score":3
      },
      {
         "word":"establish",
         "score":3
      },
      {
         "word":"fallish",
         "score":3
      },
      {
         "word":"foolish",
         "score":3
      },
      {
         "word":"ghoulish",
         "score":3
      },
      {
         "word":"girlish",
         "score":3
      },
      {
         "word":"hamlisch",
         "score":3
      },
      {
         "word":"hellish",
         "score":3
      },
      {
         "word":"inglish",
         "score":3
      },
      {
         "word":"bullish",
         "score":3
      },
      {
         "word":"accomplish",
         "score":3
      },
      {
         "word":"kalish",
         "score":3
      }
   ],
   "alliterations":[
      {
         "word":"englishman",
         "score":6
      },
      {
         "word":"englishwoman",
         "score":6
      },
      {
         "word":"inglis",
         "score":5
      },
      {
         "word":"england\'s",
         "score":4
      },
      {
         "word":"englander",
         "score":4
      },
      {
         "word":"englanders",
         "score":4
      },
      {
         "word":"englands",
         "score":4
      },
      {
         "word":"inglese",
         "score":4
      },
      {
         "word":"england",
         "score":4
      },
      {
         "word":"ingels",
         "score":3
      },
      {
         "word":"englert",
         "score":3
      },
      {
         "word":"englerth",
         "score":3
      },
      {
         "word":"ingraham",
         "score":3
      },
      {
         "word":"ingrum",
         "score":3
      },
      {
         "word":"ingwersen",
         "score":3
      },
      {
         "word":"englund",
         "score":3
      },
      {
         "word":"ingots",
         "score":3
      },
      {
         "word":"ingot",
         "score":3
      },
      {
         "word":"ingold",
         "score":3
      },
      {
         "word":"ingo",
         "score":3
      }
   ]
}

Package Sidebar

Install

npm i rhyming.ly

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

10.1 kB

Total Files

6

Last publish

Collaborators

  • dan1wang