UNPKG

@hackylabs/deep-redact

Version:

A fast, safe and configurable zero-dependency library for redacting strings or deeply redacting arrays and objects.

10 lines (9 loc) 263 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._url = void 0; const _url = (value) => { if (value instanceof URL) return { value: value.toString(), _transformer: 'url' }; return value; }; exports._url = _url;