Skip to content

Search words in the Olam dictionary (Supports malayalam and english).

License

Notifications You must be signed in to change notification settings

TOXIC-DEVIL/olam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Search words in the Olam dictionary (Supports malayalam and english).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published