dexonline

0.0.2 • Public • Published

Dexonline

node-dexonline is a simple interface that provides definitions for romanian words directly into your js file or terminal.

Instalation

$ sudo npm install -g dexonline

Usage

Directly from the terminal

$ dexonline definitie Internet

Javascript file

var dex = require('dexonline');
 
dex.definitie('Internet', function (err, def) {
    console.log(err || def);
});
 
dex.text('Internet', function (err, def) {
    console.log(err || def);
});

Methods

definitie (word, callback)

  • word: String representing the word you want to search
  • callback: the callback function.

text (word, callback)

  • word: String representing the word you want to search
  • callback: the callback function.

NOTE: Better explanation with dexonline#text.

Test

$ npm test

Changelog

  • 0.0.2
    • Add README and bump version.
    • Change formatting and add comments.
  • 0.0.1 - First release
  • 0.0.0 - First working version

License

See the LICENSE file.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i dexonline

    Weekly Downloads

    1

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • radubogdan