Skip to content

javierarce/rae.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAE.js

Node package that returns the definition of a word using the RAE dictionary.

Installation

yarn add rae.js

or

npm install rae.js

Usage

let RAE = require('rae.js');

RAE.search('planetoide').then(definition =>
  console.log(definition)
);

That should return something like this:

[
  {
    "title": "planetoide",
    "definition": [
      {
        "entry": [],
        "definition": [
          "m. asteroide (‖ cuerpo menor del sistema solar)."
        ]
      }
    ]
  }
]

Tests

npm test

About

Node package that returns the definition of a word using the RAE dictionary.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published