Source

validators/isRepoFullname.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var isURLSafeStr_1 = require("./isURLSafeStr");
var REGEX = new RegExp("^".concat(isURLSafeStr_1.URL_SAFE_REGEX_STR, "/").concat(isURLSafeStr_1.URL_SAFE_REGEX_STR, "$"), 'i');
/**
 * Wether it is a globally-unique repository name
 *
 * @param value
 * @category validators
 * @module isRepoFullname
 */
var isRepoFullname = function (value) { return REGEX.test(value); };
exports.default = isRepoFullname;