rae.js

1.7.0 • Public • Published

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

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i rae.js

    Weekly Downloads

    0

    Version

    1.7.0

    License

    MIT

    Unpacked Size

    16 kB

    Total Files

    8

    Last publish

    Collaborators

    • javier