Socket
Socket
Sign inDemoInstall

@sl-codeblaster/nodejs-madura-api

Package Overview
Dependencies
2
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
1
Maintainers
1
Install size
389 kB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 05 Sep 2020

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc