An unofficial NPM package for searching words in the Olam dictionary (Supports malayalam and english).
npm install olam@latest
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: 'എതിരായ'
},
...
]
const olam = require('olam');
olam('കാലം')
.then((definitions) => {
console.log(definitions);
}).catch((e) => {
console.error(e);
});
Output:
[
{
title: 'കാലം',
partOfSpeech: 'നാ.',
meaning: 'മഴ'
},
{
title: 'കാലംകഴിക്കുക',
partOfSpeech: 'നാ.',
meaning: 'സമയം കഴിച്ചുകൂട്ടുക'
},
...
]
This project is licensed under the GPL-3.0 License.