UNPKG

social-links

Version:
25 lines 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mastodon = void 0; var types_1 = require("../types"); exports.mastodon = { name: 'mastodon', matches: [ { match: '(https?://)?(www.)?mastodon.social/@({PROFILE_ID})/?', group: 3, type: types_1.TYPE_DESKTOP, pattern: 'https://mastodon.social/@{PROFILE_ID}' }, { match: '(https?://)?(www.)?mstdn.social/@({PROFILE_ID})/?', group: 3, type: types_1.TYPE_DESKTOP, pattern: 'https://mstdn.social/@{PROFILE_ID}' }, { match: '(https?://)?(www.)?mastodon.world/@({PROFILE_ID})/?', group: 3, type: types_1.TYPE_DESKTOP, pattern: 'https://mastodon.world/@{PROFILE_ID}' }, { match: '@?({PROFILE_ID})(@mastodon.social)?', group: 1 }, { match: '@?({PROFILE_ID})(@mstdn.social)?', group: 1 }, { match: '@?({PROFILE_ID})(@mastodon.world)?', group: 1 }, ] }; //# sourceMappingURL=mastodon.js.map