netkitty
Version:
Network toolkit for Node.js — packet encode/decode (180+ protocols incl. industrial/OT), pcap/pcapng read-write, cross-packet analysis, live capture and replay.
28 lines (27 loc) • 1.44 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (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" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PcapParserCore = void 0;
/**
* netkitty/pcap — pcap/pcapng file reading, writing and parsing, plus the browser-safe core
* (generation helpers and the low-level parser state machine). `@netkitty/pcap` already
* re-exports the shared core symbols (IPcapPacketInfo, GeneratePCAP*, PcapFileFormat), so only
* the core-only surface (PcapParserCore and its structural types) is added explicitly here to
* avoid duplicate-export ambiguity.
*/
__exportStar(require("@netkitty/pcap"), exports);
var pcap_core_1 = require("@netkitty/pcap-core");
Object.defineProperty(exports, "PcapParserCore", { enumerable: true, get: function () { return pcap_core_1.PcapParserCore; } });