Socket
Socket
Sign inDemoInstall

rhyme-detector

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rhyme-detector

Find all the rhyming words within any poem, fast.


Version published
Weekly downloads
20
increased by900%
Maintainers
1
Install size
4.49 MB
Created
Weekly downloads
 

Readme

Source

rhyme-detector

🕵 Find all the rhymes in any poem, fast.

Dependencies

Uses the CMU pronouncing dictionary

Install

Using npm:

npm install rhyme-detector --save

# or
yarn add rhyme-detector

Usage


const detectRyhmes = require("detect-rhymes");

let rhymes = detectRyhmes("overnight delight intertwine emboss mine loss shine boss refine incline");

/*
Returns:

[ [ 'overnight', 'delight' ],
[ 'intertwine', 'mine', 'shine', 'incline' ],
[ 'emboss', 'loss', 'boss' ] ]
*/

LICENSE (WTFPL)

Keywords

FAQs

Last updated on 17 Nov 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc