Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    ckan-searchpublic

    ckan-search

    Search CKAN and automatically traverse page list.

    NPM

    API

    searcher = ckan(opts)

    Options:

    uri: can be changed if you have your own deployment. default 'http://datahub.io/api'

    version: defaults to 3

    timeout: not implemented

    Example

    var stream = searcher.stream({fulltext: 'your fulltext query text here'})
    stream.on('data', function (data) {
      console.log(data.result.results) // each 'data' is a page from the search api
    })

    See test.js for an example.

    Keywords

    none

    install

    npm i ckan-search

    Downloadsweekly downloads

    2

    version

    1.0.1

    license

    BSD-2-Clause

    repository

    githubgithub

    last publish

    collaborators

    • avatar