UNPKG

@microlink/mql

Version:

Microlink Query Language. The official HTTP client to interact with Microlink API for Node.js, browsers & Deno.

14 lines (11 loc) 315 B
'use strict' const VERSION = require('../package.json').version module.exports = { VERSION, USER_AGENT: `mql/${VERSION}`, /** * Based on require('got').defaults.options.retry.statusCodes * but without 429 (too many requests) */ RETRY_STATUS_CODES: [408, 413, 500, 502, 503, 504, 521, 522, 524] }