olam

1.0.0-pre.0 • Public • Published

Olam Dictionary

An unofficial NPM package for searching words in the Olam dictionary (Supports malayalam and english).

Installation

npm install olam@latest

Usage

English-Malayalam

const olam = require('olam');

olam('contrary')
  .then((definitions) => {
    console.log(definitions);
  }).catch((e) => {
    console.error(e);
  });

Output:

[
  {
    title: 'Contrary',
    partOfSpeech: 'വിശേഷണം',
    meaning: 'വിപരീതമായ'
  },
  { 
    title: 'Contrary',
    partOfSpeech: 'വിശേഷണം',
    meaning: 'എതിരായ'
  },
  ...
]

Malayalam-Malayalam

const olam = require('olam');

olam('കാലം')
  .then((definitions) => {
    console.log(definitions);
  }).catch((e) => {
    console.error(e);
  });

Output:

[
  {
    title: 'കാലം',
    partOfSpeech: 'നാ.',
    meaning: 'മഴ'
  },
  {
    title: 'കാലംകഴിക്കുക',
    partOfSpeech: 'നാ.',
    meaning: 'സമയം കഴിച്ചുകൂട്ടുക'
  },
  ...
]

License

This project is licensed under the GPL-3.0 License.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.0-pre.02pre
1.0.0-pre.02latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.0-pre.02

Package Sidebar

Install

npm i olam

Weekly Downloads

2

Version

1.0.0-pre.0

License

GPL-3.0

Unpacked Size

38.3 kB

Total Files

5

Last publish

Collaborators

  • toxicdevil