mw-query
v1.0.7
Published
![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
Downloads
1
Readme
MW-Query
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