MCPcopy Create free account
hub / github.com/sindresorhus/query-string / replacer

Function replacer

test/stringify.js:670–672  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

668 created: date,
669 }, {
670 replacer(key, value) {
671 return value instanceof Date ? value.toISOString() : value;
672 },
673 }), 'created=2024-01-15T10%3A30%3A00.000Z&name=John');
674});
675

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected