MCPcopy
hub / github.com/expressjs/body-parser / createManyParams

Function createManyParams

test/urlencoded.js:931–946  ·  view source on GitHub ↗
(count)

Source from the content-addressed store, hash-verified

929})
930
931function createManyParams (count) {
932 let str = ''
933
934 if (count === 0) {
935 return str
936 }
937
938 str += '0=0'
939
940 for (let i = 1; i < count; i++) {
941 const n = i.toString(36)
942 str += '&' + n + '=' + n
943 }
944
945 return str
946}
947
948function createServer (opts) {
949 const _bodyParser = typeof opts !== 'function'

Callers 1

urlencoded.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…