Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ipmanlk/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

@ipmanlk/madura-api

Javascript API for the Madura Online Dictionary

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source
Madura logo

Madura API

Javascript API for the Madura Online Dictionary

This is just a fun project. All credits should go to Madura Kulatunga for creating Madura Online Dictionary.

Usage

Download node from nodejs.org and install it, if you haven't already.

Then install madura-api using npm or yarn.

npm install @ipmanlk/madura-api --save

Example,

const { search } = require("@ipmanlk/madura-api");

// find Sinhala meanings
search("cat").then(meanings => {
    console.log(meanings);
});

// find English meanings
search("අරුත").then(meanings => {
    console.log(meanings);
});

If word is not found, it will give an empty array.

Tests

Either of the following should work depending on your preferences.
npm test or yarn test

Dependencies

  • cheerio

Keywords

FAQs

Package last updated on 28 Apr 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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc