UNPKG

pino-splunk-events

Version:
18 lines (14 loc) 319 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.omit = void 0; const omit = (keys, object) => { return Object.keys(object).reduce((reduced, key) => { if (!keys.includes(key)) { reduced[key] = object[key]; } return reduced; }, {}); }; exports.omit = omit;