Socket
Book a DemoInstallSign in
Socket

@sl-codeblaster/nodejs-madura-api

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sl-codeblaster/nodejs-madura-api

Nodejs Api for Madura Online Dictionary.All credits should goes to Madura Kulathunga who create the Madura Online Dictionary.

1.0.2
latest
npmnpm
Version published
Maintainers
1
Created
Source

Nodejs - Madura API

This package is developed for fetch data from https://maduraonline.com.

All credits should goes to Madura Kulathunga who develop the madura online dictionary.

npm version

Install

npm install @sl-codeblaster/nodejs-madura-api

Demo

Edit 0qx6yljwlv

Example

const http = require("http");
const maduraAPI = require("@sl-codeblaster/nodejs-madura-api");

//create a server object:
http
.createServer(async (req, res) => {
    const result = await maduraAPI.query("name");

    res.send(result);
})
.listen(8080); 

Response

{
    query: 'name',
    source: 'https://www.maduraonline.com',
    credits: 'All credits should goes to Madura Kulathunga who create the Madura Online Dictionary.',
    meanings:[   
        { category: 'n.', meaning: 'අපදේශය' },
        { category: 'n.', meaning: 'අභිධා' },
        { category: 'n.', meaning: 'අභිධානය' },
        { category: 'n.', meaning: 'නම' },
        { category: 'vt.', meaning: 'නම් කරනවා' },
        { category: 'v.', meaning: 'නම් තබනවා' },
        { category: 'n.', meaning: 'නාමය' },
        { category: 'vt.', meaning: 'නියම කරනවා' },
        { category: 'n.', meaning: 'ප්‍රඥප්තිය' },
        { category: 'n.', meaning: 'ප්‍රසිද්ධිය' },
        { category: 'n.', meaning: 'සංඥා කරනවා' },
        { category: 'n.', meaning: 'සංඥාව' },
        { category: 'st.', meaning: 'සන්' },
        { category: 'vt.', meaning: 'සඳහන් කරනවා' } 
    ] 
}

Keywords

nodejs

FAQs

Package last updated on 05 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.