MCPcopy Index your code
hub / github.com/tinyhttp/tinyhttp / data

Method data

packages/session/src/index.ts:124–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 }
123
124 private data(): Record<string, any> {
125 const out: Record<string, any> = {}
126 for (const prop in this) {
127 if (prop === 'cookie' || prop === 'store') continue
128 out[prop] = this[prop]
129 }
130 return out
131 }
132
133 save(cb?: (err?: any) => void): this {
134 this.store.set(

Callers 1

saveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected