UNPKG

@jsdevtools/rehype-url-inspector

Version:

A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document

24 lines 1.18 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.inspectUrls = void 0; const rehype_url_inspector_1 = require("./rehype-url-inspector"); Object.defineProperty(exports, "inspectUrls", { enumerable: true, get: function () { return rehype_url_inspector_1.inspectUrls; } }); __exportStar(require("./types"), exports); // Export `inspectUrls` as the default export exports.default = rehype_url_inspector_1.inspectUrls; // CommonJS default export hack /* eslint-env commonjs */ if (typeof module === "object" && typeof module.exports === "object") { module.exports = Object.assign(module.exports.default, module.exports); } //# sourceMappingURL=index.js.map