@ubw/mediatum-query-builder

Convenience query builder for the RESTful mediaTUM API

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
Minified + gzip package size for @ubw/mediatum-query-builder in KB

Readme

mediatum-query-builder

Convenience query builder for the RESTful mediaTUM API

Install

$ npm install @ubw/mediatum-query-builder

Usage

const {raw, attributeMatch, and, or} = require('@ubw/mediatum-query-builder');

and(
    attributeMatch('author.surname', 'Dietrich'),
    attributeMatch('origin', 'Mathematik')
)
//=> '(author.surname="Dietrich") AND (origin="Mathematik")'

Related

License

MIT © Michael Mayer

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.