New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

mw-query

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mw-query

![npm](https://img.shields.io/npm/v/mw-query.svg) [![Build Status](https://travis-ci.org/ISNIT0/mw-query.svg?branch=master)](https://travis-ci.org/ISNIT0/mw-query) [![codecov](https://codecov.io/gh/ISNIT0/mw-query/branch/master/graph/badge.svg)](https://c

Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

MW-Query

npm Build Status codecov CodeFactor NPM License

Example

import { queryMw } from 'mw-query';

queryMw(
    {
        apiUrl: 'https://en.wikipedia.org/w/api.php',
    }, {
        coordinates: {
            coprop: {
                type: true,
                dim: false,
            },
        },
        categories: {
            cllimit: 40,
        },
        redirects: {
            rdlimit: 'max',
        },
    }, ['London', 'Paris'],
).then((out) => {
    console.log('Got Data:', out);
});

Building

> ./build.sh

Testing

> npm t

License

MIT

FAQs

Package last updated on 15 Mar 2019

Related posts