🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

mp-scraper

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mp-scraper

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

Source
npmnpm
Version
1.0.7
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

mp-scraper

npm Build Status codecov CodeFactor NPM License

Example

import { queryMw } from 'mp-scraper';

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 24 Mar 2019

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