eslint-plugin-json-schema-validator
Version:
ESLint plugin that validates data using JSON Schema Validator.
13 lines (12 loc) • 379 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.get = void 0;
function get(url, options, httpModulePath) {
const client = httpModulePath
?
require(httpModulePath)
:
require("./get-modules/http");
return client.default ? client.default(url, options) : client(url, options);
}
exports.get = get;