0.0.2 • Published 10 years ago

dexonline v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

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.