Giter Club home page Giter Club logo

rhymes's Introduction

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

rhymes's People

Contributors

agent-0028 avatar christianmurphy avatar wooorm avatar zeke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rhymes's Issues

Installation fails

$ npm install rhymes --save
npm WARN saveError ENOENT: no such file or directory, open '/home/floris/package.json'
/home/floris
└── [email protected] 

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open '/home/floris/package.json'
npm WARN floris No description
npm WARN floris No repository field.
npm WARN floris No README data
npm WARN floris No license field.
$ npm --version
3.10.10
$ uname -a
Linux northpool2 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.