MCPcopy Index your code
hub / github.com/cameri/nostream / toString

Method toString

src/handlers/event-message-handler.ts:298–300  ·  view source on GitHub ↗
(input: any | any[])

Source from the content-addressed store, hash-verified

296 const rateLimiter = this.rateLimiter()
297
298 const toString = (input: any | any[]): string => {
299 return Array.isArray(input) ? `[${input.map(toString)}]` : input.toString()
300 }
301
302 const hit = ({ period, rate, kinds = undefined }: EventRateLimit) => {
303 const key = Array.isArray(kinds)

Callers 15

shared.tsFile · 0.80
projectionFunction · 0.80
createEventFunction · 0.80
createIdentityFunction · 0.80
buildMinimalOtsBase64Function · 0.80
postOpenNodeCallbackFunction · 0.80
nip-33.feature.tsFile · 0.80
rate-limiter.tsFile · 0.80
computePubkeyFunction · 0.80

Calls

no outgoing calls

Tested by 9

makeBodyFunction · 0.64
makeValidQueryFunction · 0.64
makeSignatureFunction · 0.64
pubkeyFromPrivkeyFunction · 0.64
runCliFunction · 0.64
runPnpmCliFunction · 0.64
runCommandFunction · 0.64
makeValidPayloadFunction · 0.64
buildValidOtsForDigestFunction · 0.64