intl-wikipedia

    5.0.0 • Public • Published

    intl-wikipedia

    Search from wikipedia for any language

    Install

    Install using npm:

        $ npm install intl-wikipedia

    Usage

    const Intlpedia = require('intl-wikipedia')
    const searchTerm = 'Bernie Sanders'
    const intlpedia = new Intlpedia('zh')
    intlpedia.search(searchTerm)
      .then(page => console.log(page))
      .catch(err => console.error(err))

    Test

    Run tests:

        $ npm test

    Tested with node.js v6.0+

    License

    The MIT License (MIT)

    Copyright (c) 2016

    Install

    npm i intl-wikipedia

    DownloadsWeekly Downloads

    26

    Version

    5.0.0

    License

    MIT

    Last publish

    Collaborators

    • wzbg