{"_id":"@ahmedrowaihi/k6-gen","_rev":"11-18bd8bb7c8ace0608ae4dcc9b1a26a8d","name":"@ahmedrowaihi/k6-gen","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"@ahmedrowaihi/k6-gen","version":"0.1.0","keywords":["k6","openapi","codegen","load-testing","typescript"],"author":{"name":"Ahmed Rowaihi","email":"ahmedrowaihi@gmail.com"},"license":"MIT","_id":"@ahmedrowaihi/k6-gen@0.1.0","maintainers":[{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"}],"homepage":"https://github.com/ahmedrowaihi/contract-kit/tree/main/packages/k6/gen","bugs":{"url":"https://github.com/ahmedrowaihi/contract-kit/issues"},"dist":{"shasum":"3867af4a596d55c9d788200de02e4b1ab9b671bd","tarball":"https://registry.npmjs.org/@ahmedrowaihi/k6-gen/-/k6-gen-0.1.0.tgz","fileCount":51,"integrity":"sha512-zMzper206DaqcyIBoghLtH+PCotODe03Ugjtg7Yk8prXDbG5mqFaAjR8V8Ay7N5jd3sf6rx8Adsf1/ItrNErnA==","signatures":[{"sig":"MEYCIQCrn21TtTaY3FvA+BkB2KCD2D3BBrr2lSE8zBFhg/64XAIhAMbwlkPqQRNo1YjBwLzsqRMvL7WSTP51zBZu/25PdS4r","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmedrowaihi%2fk6-gen@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":59583},"main":"./dist/index.js","type":"module","_from":"file:ahmedrowaihi-k6-gen-0.1.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsc -p tsconfig.build.json --watch","test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"},"_resolved":"/tmp/05fee13b61fcdbb194f70d00e4ef93a3/ahmedrowaihi-k6-gen-0.1.0.tgz","_integrity":"sha512-zMzper206DaqcyIBoghLtH+PCotODe03Ugjtg7Yk8prXDbG5mqFaAjR8V8Ay7N5jd3sf6rx8Adsf1/ItrNErnA==","repository":{"url":"git+https://github.com/ahmedrowaihi/contract-kit.git","type":"git","directory":"packages/k6/gen"},"_npmVersion":"10.8.2","description":"Programmatic generator: OpenAPI spec → typed k6 client (one function per operation), TS types, and faker-backed data builders. No hey-api plugin required.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"typescript":"5.9.3","@hey-api/shared":"^0.4.2","@hey-api/openapi-ts":"^0.97.0","@ahmedrowaihi/codegen-core":"0.2.1","@ahmedrowaihi/openapi-core":"2.0.0","@ahmedrowaihi/openapi-tools":"1.2.1","@ahmedrowaihi/openapi-ts-faker":"4.0.2","@hey-api/json-schema-ref-parser":"^1.4.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.0","@types/node":"^22","@ahmedrowaihi/tsconfig":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/k6-gen_0.1.0_1778769284679_0.420546850338833","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @ir-kit/k6-gen. See https://github.com/ir-kit/ir-kit for migration."},"0.1.1":{"name":"@ahmedrowaihi/k6-gen","version":"0.1.1","keywords":["k6","openapi","codegen","load-testing","typescript"],"author":{"name":"Ahmed Rowaihi","email":"ahmedrowaihi@gmail.com"},"license":"MIT","_id":"@ahmedrowaihi/k6-gen@0.1.1","maintainers":[{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"}],"homepage":"https://github.com/ahmedrowaihi/contract-kit/tree/main/packages/k6/gen","bugs":{"url":"https://github.com/ahmedrowaihi/contract-kit/issues"},"dist":{"shasum":"1708b63bdeeedf8bfdfe9166fe25c4eb1b01f24e","tarball":"https://registry.npmjs.org/@ahmedrowaihi/k6-gen/-/k6-gen-0.1.1.tgz","fileCount":55,"integrity":"sha512-kHtinskQV+S738B56mZ28r6uoVobonnqx+DK2EeVh73NmHxXkzJs20Wp4OcRV3IH0/7IqtEWyEB+gP0C+sesxg==","signatures":[{"sig":"MEYCIQCDDE6BS3GcuzbPMJp/sIOYo+sltmCqUhJzB6w/cJuc9QIhAPwuoRF9TBKoOszbHue/CczrBOF9Rn+fC5YLQiJLHYxI","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmedrowaihi%2fk6-gen@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":60291},"main":"./dist/index.js","type":"module","_from":"file:ahmedrowaihi-k6-gen-0.1.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsc -p tsconfig.build.json --watch","test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"},"_resolved":"/tmp/70659db0154ff49cb51149c8d31d5277/ahmedrowaihi-k6-gen-0.1.1.tgz","_integrity":"sha512-kHtinskQV+S738B56mZ28r6uoVobonnqx+DK2EeVh73NmHxXkzJs20Wp4OcRV3IH0/7IqtEWyEB+gP0C+sesxg==","repository":{"url":"git+https://github.com/ahmedrowaihi/contract-kit.git","type":"git","directory":"packages/k6/gen"},"_npmVersion":"10.8.2","description":"Programmatic generator: OpenAPI spec → typed k6 client (one function per operation), TS types, and faker-backed data builders. No hey-api plugin required.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"typescript":"5.9.3","@hey-api/shared":"^0.4.2","@hey-api/openapi-ts":"^0.97.0","@ahmedrowaihi/codegen-core":"0.2.1","@ahmedrowaihi/openapi-core":"2.0.0","@ahmedrowaihi/openapi-tools":"1.3.0","@ahmedrowaihi/openapi-ts-faker":"4.0.2","@hey-api/json-schema-ref-parser":"^1.4.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.0","@types/node":"^22","@ahmedrowaihi/tsconfig":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/k6-gen_0.1.1_1778885511352_0.15761252175027773","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @ir-kit/k6-gen. See https://github.com/ir-kit/ir-kit for migration."},"0.2.0":{"name":"@ahmedrowaihi/k6-gen","version":"0.2.0","keywords":["k6","openapi","codegen","load-testing","typescript"],"author":{"name":"Ahmed Rowaihi","email":"ahmedrowaihi@gmail.com"},"license":"MIT","_id":"@ahmedrowaihi/k6-gen@0.2.0","maintainers":[{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"}],"homepage":"https://github.com/ahmedrowaihi/contract-kit/tree/main/packages/k6/codegen","bugs":{"url":"https://github.com/ahmedrowaihi/contract-kit/issues"},"dist":{"shasum":"55225c0dfb854e5f43b0d0aaf21d78475462e2c1","tarball":"https://registry.npmjs.org/@ahmedrowaihi/k6-gen/-/k6-gen-0.2.0.tgz","fileCount":71,"integrity":"sha512-ogmDl5Ng+aiAoszCFqWThQTkZSV2oUEId5KKvlPNcSacE4xvOhU/+jo6fHHerWh1wXrOuiVXO1Pcs3ULk8yEag==","signatures":[{"sig":"MEQCICconaeJLsfIvOSIxIhQU1R81IjGoUTu/fQstGFYVjuPAiB5XZ7h6Ezmg+xzMe9aBGPDDd3VxhPdMfMUk5MkmHJ33w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmedrowaihi%2fk6-gen@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":85017},"main":"./dist/index.js","type":"module","_from":"file:ahmedrowaihi-k6-gen-0.2.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsc -p tsconfig.build.json --watch","test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"},"_resolved":"/tmp/db82183bc4dfd0a24024f7a9a6fecc10/ahmedrowaihi-k6-gen-0.2.0.tgz","_integrity":"sha512-ogmDl5Ng+aiAoszCFqWThQTkZSV2oUEId5KKvlPNcSacE4xvOhU/+jo6fHHerWh1wXrOuiVXO1Pcs3ULk8yEag==","repository":{"url":"git+https://github.com/ahmedrowaihi/contract-kit.git","type":"git","directory":"packages/k6/codegen"},"_npmVersion":"10.8.2","description":"Programmatic generator: OpenAPI spec → typed k6 client (one function per operation), TS types, and faker-backed data builders. No hey-api plugin required.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"typescript":"5.9.3","@hey-api/shared":"^0.4.2","@hey-api/openapi-ts":"^0.97.0","@ahmedrowaihi/codegen-core":"0.2.1","@ahmedrowaihi/openapi-core":"2.0.0","@ahmedrowaihi/openapi-tools":"1.3.0","@ahmedrowaihi/openapi-ts-faker":"4.0.2","@hey-api/json-schema-ref-parser":"^1.4.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.0","@types/node":"^22","@ahmedrowaihi/tsconfig":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/k6-gen_0.2.0_1778890927635_0.7608196907060494","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @ir-kit/k6-gen. See https://github.com/ir-kit/ir-kit for migration."},"0.2.1":{"name":"@ahmedrowaihi/k6-gen","version":"0.2.1","keywords":["k6","openapi","codegen","load-testing","typescript"],"author":{"name":"Ahmed Rowaihi","email":"ahmedrowaihi@gmail.com"},"license":"MIT","_id":"@ahmedrowaihi/k6-gen@0.2.1","maintainers":[{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"}],"homepage":"https://github.com/ahmedrowaihi/contract-kit/tree/main/packages/k6/codegen","bugs":{"url":"https://github.com/ahmedrowaihi/contract-kit/issues"},"dist":{"shasum":"e1c1970065fa66e6664d846768d6d519198a5bf9","tarball":"https://registry.npmjs.org/@ahmedrowaihi/k6-gen/-/k6-gen-0.2.1.tgz","fileCount":71,"integrity":"sha512-rxS0xz5BobJzTLoPn1JS2IUxVENtEO+RHg69CV1usQ0UtjEcqLqqIT58w5XLxwqDeUEDdXriYXJMiKLB+xU7xg==","signatures":[{"sig":"MEYCIQDSu57QQ1hd6O1FXNMFpOYEqP3DMSrvtT+1n4J3Djp3BAIhAL8tF1UogUl0WpFHvwuPMUx+341Y51Wi6+z3GGKYdvwe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmedrowaihi%2fk6-gen@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":84962},"main":"./dist/index.js","type":"module","_from":"file:ahmedrowaihi-k6-gen-0.2.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsc -p tsconfig.build.json --watch","test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"},"_resolved":"/tmp/b5e63817b1302b1081ae9109c1fc666a/ahmedrowaihi-k6-gen-0.2.1.tgz","_integrity":"sha512-rxS0xz5BobJzTLoPn1JS2IUxVENtEO+RHg69CV1usQ0UtjEcqLqqIT58w5XLxwqDeUEDdXriYXJMiKLB+xU7xg==","repository":{"url":"git+https://github.com/ahmedrowaihi/contract-kit.git","type":"git","directory":"packages/k6/codegen"},"_npmVersion":"10.8.2","description":"Programmatic generator: OpenAPI spec → typed k6 client (one function per operation), TS types, and faker-backed data builders. No hey-api plugin required.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"typescript":"5.9.3","@hey-api/shared":"^0.4.2","@hey-api/openapi-ts":"^0.97.0","@ahmedrowaihi/codegen-core":"0.2.1","@ahmedrowaihi/openapi-core":"2.0.0","@ahmedrowaihi/openapi-tools":"1.3.0","@ahmedrowaihi/openapi-ts-faker":"4.0.3","@hey-api/json-schema-ref-parser":"^1.4.1"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.0","@types/node":"^22","@ahmedrowaihi/tsconfig":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/k6-gen_0.2.1_1778893437954_0.9533901999054499","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @ir-kit/k6-gen. See https://github.com/ir-kit/ir-kit for migration."},"0.2.2":{"name":"@ahmedrowaihi/k6-gen","version":"0.2.2","keywords":["k6","openapi","codegen","load-testing","typescript"],"author":{"name":"Ahmed Rowaihi","email":"ahmedrowaihi@gmail.com"},"license":"MIT","_id":"@ahmedrowaihi/k6-gen@0.2.2","maintainers":[{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"}],"homepage":"https://github.com/ahmedrowaihi/contract-kit/tree/main/packages/k6/codegen","bugs":{"url":"https://github.com/ahmedrowaihi/contract-kit/issues"},"dist":{"shasum":"5735978080db05824c4eb6d91559ee67da8e6f65","tarball":"https://registry.npmjs.org/@ahmedrowaihi/k6-gen/-/k6-gen-0.2.2.tgz","fileCount":71,"integrity":"sha512-cPGJuwRrfvd0B+BL4weu/Y/bmwGLNQswNDHIjl6DTByfDN/Cj1MMoXlb3d/NJy6FBDoexfJXNeEddZHVjBtabg==","signatures":[{"sig":"MEUCIQDan00bzm78Ao9AxYrpPgw+r/t5kx+uYF1Oak+k9b4vPAIgCuUdKmcFGwy/zn8KncJkOGBJnKLNy2Dai3PjhV0+u4A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmedrowaihi%2fk6-gen@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":84441},"main":"./dist/index.js","type":"module","_from":"file:ahmedrowaihi-k6-gen-0.2.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsc -p tsconfig.build.json --watch","test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"},"_resolved":"/tmp/d3318040e4b303ba557920567e96232b/ahmedrowaihi-k6-gen-0.2.2.tgz","_integrity":"sha512-cPGJuwRrfvd0B+BL4weu/Y/bmwGLNQswNDHIjl6DTByfDN/Cj1MMoXlb3d/NJy6FBDoexfJXNeEddZHVjBtabg==","repository":{"url":"git+https://github.com/ahmedrowaihi/contract-kit.git","type":"git","directory":"packages/k6/codegen"},"_npmVersion":"10.8.2","description":"Programmatic generator: OpenAPI spec → typed k6 client (one function per operation), TS types, and faker-backed data builders. No hey-api plugin required.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"typescript":"5.9.3","@hey-api/shared":"^0.4.2","@hey-api/openapi-ts":"^0.97.0","@ahmedrowaihi/codegen-core":"0.2.1","@ahmedrowaihi/openapi-core":"2.0.0","@ahmedrowaihi/openapi-tools":"1.4.0","@ahmedrowaihi/openapi-ts-faker":"4.0.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.0","@types/node":"^22","@ahmedrowaihi/tsconfig":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/k6-gen_0.2.2_1778901872469_0.15834084158474182","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @ir-kit/k6-gen. See https://github.com/ir-kit/ir-kit for migration."},"0.2.3":{"name":"@ahmedrowaihi/k6-gen","version":"0.2.3","keywords":["k6","openapi","codegen","load-testing","typescript"],"author":{"name":"Ahmed Rowaihi","email":"ahmedrowaihi@gmail.com"},"license":"MIT","_id":"@ahmedrowaihi/k6-gen@0.2.3","maintainers":[{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"}],"homepage":"https://github.com/ahmedrowaihi/contract-kit/tree/main/packages/k6/codegen","bugs":{"url":"https://github.com/ahmedrowaihi/contract-kit/issues"},"dist":{"shasum":"1f967c6abec2a9ef1023d2a4be1d0483e5321e55","tarball":"https://registry.npmjs.org/@ahmedrowaihi/k6-gen/-/k6-gen-0.2.3.tgz","fileCount":71,"integrity":"sha512-TC5jhZZZ9uZvmFVRMG3GKrdJy07sMYq38Cg2Ft1QgODrx/Sww4kp1gdqXsXKB0jmqxHnhxNNLJxiD81hf3UC0g==","signatures":[{"sig":"MEQCIG5Ky+/v0sM8f3e+LOomTHKktbth1FYOlL3VGVEAenkpAiAVZ6/CK27re76Wx1PDxfJXQa2pUxHDl06MRXN75wnfyA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmedrowaihi%2fk6-gen@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":84420},"main":"./dist/index.js","type":"module","_from":"file:ahmedrowaihi-k6-gen-0.2.3.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsc -p tsconfig.build.json --watch","test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"},"_resolved":"/tmp/5f350552624633a3a241f4bf6c0fd678/ahmedrowaihi-k6-gen-0.2.3.tgz","_integrity":"sha512-TC5jhZZZ9uZvmFVRMG3GKrdJy07sMYq38Cg2Ft1QgODrx/Sww4kp1gdqXsXKB0jmqxHnhxNNLJxiD81hf3UC0g==","repository":{"url":"git+https://github.com/ahmedrowaihi/contract-kit.git","type":"git","directory":"packages/k6/codegen"},"_npmVersion":"10.8.2","description":"Programmatic generator: OpenAPI spec → typed k6 client (one function per operation), TS types, and faker-backed data builders. No hey-api plugin required.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"typescript":"5.9.3","@hey-api/shared":"^0.4.2","@hey-api/openapi-ts":"^0.97.0","@ahmedrowaihi/codegen-core":"0.2.1","@ahmedrowaihi/openapi-core":"2.0.0","@ahmedrowaihi/openapi-tools":"1.4.0","@ahmedrowaihi/openapi-ts-faker":"4.0.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.0","@types/node":"^22","@ahmedrowaihi/tsconfig":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/k6-gen_0.2.3_1778941235633_0.9687253812820042","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @ir-kit/k6-gen. See https://github.com/ir-kit/ir-kit for migration."},"1.0.0":{"name":"@ahmedrowaihi/k6-gen","version":"1.0.0","keywords":["k6","openapi","codegen","load-testing","typescript"],"author":{"name":"Ahmed Rowaihi","email":"ahmedrowaihi@gmail.com"},"license":"MIT","_id":"@ahmedrowaihi/k6-gen@1.0.0","maintainers":[{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"}],"homepage":"https://github.com/ahmedrowaihi/contract-kit/tree/main/packages/k6/codegen","bugs":{"url":"https://github.com/ahmedrowaihi/contract-kit/issues"},"dist":{"shasum":"a5c5513be69cf4b554103add61d2d77476109bf7","tarball":"https://registry.npmjs.org/@ahmedrowaihi/k6-gen/-/k6-gen-1.0.0.tgz","fileCount":71,"integrity":"sha512-9QD9fT7VnjtIKXx8IGMUuvG5cNU1IZo+IZnkRDfp9Uu/Xq84F1CYt5WW+lMBkZw8eDRRizT+akv87CVRfKCORQ==","signatures":[{"sig":"MEUCIQD4DC10TkdZgEu2G22MC3T4qOZ5Q1BvZjV9EhPx6xb7MQIgSTWJGp+u8JhSYTh5Qq+mpMGFoiIOBNDFejr8LgtFceI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmedrowaihi%2fk6-gen@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":99166},"main":"./dist/index.js","type":"module","_from":"file:ahmedrowaihi-k6-gen-1.0.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsc -p tsconfig.build.json --watch","test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"},"_resolved":"/tmp/a85329441a5c0243e974e17a49946e61/ahmedrowaihi-k6-gen-1.0.0.tgz","_integrity":"sha512-9QD9fT7VnjtIKXx8IGMUuvG5cNU1IZo+IZnkRDfp9Uu/Xq84F1CYt5WW+lMBkZw8eDRRizT+akv87CVRfKCORQ==","repository":{"url":"git+https://github.com/ahmedrowaihi/contract-kit.git","type":"git","directory":"packages/k6/codegen"},"_npmVersion":"10.8.2","description":"Programmatic generator: OpenAPI spec → typed k6 client (one function per operation), TS types, and faker-backed data builders. No hey-api plugin required.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"typescript":"5.9.3","@hey-api/shared":"^0.4.2","@hey-api/openapi-ts":"^0.97.0","@ahmedrowaihi/codegen-core":"0.2.1","@ahmedrowaihi/openapi-core":"2.0.0","@ahmedrowaihi/openapi-tools":"1.4.0","@ahmedrowaihi/openapi-ts-faker":"4.0.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.0","@types/node":"^22","@ahmedrowaihi/tsconfig":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/k6-gen_1.0.0_1779008206840_0.4565911371480602","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @ir-kit/k6-gen. See https://github.com/ir-kit/ir-kit for migration."},"1.0.1":{"name":"@ahmedrowaihi/k6-gen","version":"1.0.1","keywords":["k6","openapi","codegen","load-testing","typescript"],"author":{"name":"Ahmed Rowaihi","email":"ahmedrowaihi@gmail.com"},"license":"MIT","_id":"@ahmedrowaihi/k6-gen@1.0.1","maintainers":[{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"}],"homepage":"https://github.com/ahmedrowaihi/contract-kit/tree/main/packages/k6/codegen","bugs":{"url":"https://github.com/ahmedrowaihi/contract-kit/issues"},"dist":{"shasum":"9532ef8b0209a92322d1c941caa27af5d9af518d","tarball":"https://registry.npmjs.org/@ahmedrowaihi/k6-gen/-/k6-gen-1.0.1.tgz","fileCount":71,"integrity":"sha512-ZRPdzh90+SxQHuHSpqnV7jJRP4DdY/fWTT5rj7kFVZbqyZmmtN27OWw3ZPS+FYQnS6nPOPKHhre5XZV/rjxwBw==","signatures":[{"sig":"MEUCIQDKUp44pjRf8OmDxmWo6yEb5/eVGJJ8ZwjN9wwCPfwA0AIgV2ZFeupc6JxNRJBCRbOsCtZzO0lROZaGCIrMgIY2tX0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmedrowaihi%2fk6-gen@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":99223},"main":"./dist/index.js","type":"module","_from":"file:ahmedrowaihi-k6-gen-1.0.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsc -p tsconfig.build.json --watch","test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"},"_resolved":"/tmp/6bef51ea3c78035b9365c8d14dd5a986/ahmedrowaihi-k6-gen-1.0.1.tgz","_integrity":"sha512-ZRPdzh90+SxQHuHSpqnV7jJRP4DdY/fWTT5rj7kFVZbqyZmmtN27OWw3ZPS+FYQnS6nPOPKHhre5XZV/rjxwBw==","repository":{"url":"git+https://github.com/ahmedrowaihi/contract-kit.git","type":"git","directory":"packages/k6/codegen"},"_npmVersion":"10.8.2","description":"Programmatic generator: OpenAPI spec → typed k6 client (one function per operation), TS types, and faker-backed data builders. No hey-api plugin required.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"@hey-api/shared":"^0.4.2","@hey-api/openapi-ts":"^0.97.0","@ahmedrowaihi/codegen-core":"0.2.1","@ahmedrowaihi/openapi-core":"2.0.0","@ahmedrowaihi/openapi-tools":"1.4.0","@ahmedrowaihi/openapi-ts-faker":"4.0.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.0","typescript":"5.9.3","@types/node":"^22","@ahmedrowaihi/tsconfig":"0.0.0"},"peerDependencies":{"typescript":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/k6-gen_1.0.1_1779014080031_0.02661700219336116","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @ir-kit/k6-gen. See https://github.com/ir-kit/ir-kit for migration."},"1.0.2":{"name":"@ahmedrowaihi/k6-gen","version":"1.0.2","keywords":["k6","openapi","codegen","load-testing","typescript"],"author":{"name":"Ahmed Rowaihi","email":"ahmedrowaihi@gmail.com"},"license":"MIT","_id":"@ahmedrowaihi/k6-gen@1.0.2","maintainers":[{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"}],"homepage":"https://github.com/ahmedrowaihi/contract-kit/tree/main/packages/k6/codegen","bugs":{"url":"https://github.com/ahmedrowaihi/contract-kit/issues"},"dist":{"shasum":"e9bb40b31d765b46f037efe63a216966d75e5553","tarball":"https://registry.npmjs.org/@ahmedrowaihi/k6-gen/-/k6-gen-1.0.2.tgz","fileCount":71,"integrity":"sha512-OpKbluB6JlfcovEefq9etMnttKOfy60yHyw0cr7Uksw9cDHxFshnHI6h4pyp49mowg0ueDhQGeHTCBGds3lvSQ==","signatures":[{"sig":"MEQCIBF3KEovMDjNZK/DO6Cuhsl57xIGEFODTpgS6KlmbmVJAiAql/cDlmmtdj1DNSU8epRhAmXv1+qLHvk+Hfdr1SLTsg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmedrowaihi%2fk6-gen@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":99381},"main":"./dist/index.js","type":"module","_from":"file:ahmedrowaihi-k6-gen-1.0.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsc -p tsconfig.build.json --watch","test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"},"_resolved":"/tmp/55cb386387a68b221c6c0d017e8dbae0/ahmedrowaihi-k6-gen-1.0.2.tgz","_integrity":"sha512-OpKbluB6JlfcovEefq9etMnttKOfy60yHyw0cr7Uksw9cDHxFshnHI6h4pyp49mowg0ueDhQGeHTCBGds3lvSQ==","repository":{"url":"git+https://github.com/ahmedrowaihi/contract-kit.git","type":"git","directory":"packages/k6/codegen"},"_npmVersion":"10.8.2","description":"Programmatic generator: OpenAPI spec → typed k6 client (one function per operation), TS types, and faker-backed data builders. No hey-api plugin required.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"@hey-api/shared":"^0.4.2","@hey-api/openapi-ts":"^0.97.0","@ahmedrowaihi/codegen-core":"0.2.1","@ahmedrowaihi/openapi-core":"2.0.0","@ahmedrowaihi/openapi-tools":"1.4.0","@ahmedrowaihi/openapi-ts-faker":"4.0.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.0","typescript":"5.9.3","@types/node":"^22","@ahmedrowaihi/tsconfig":"0.0.0"},"peerDependencies":{"typescript":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/k6-gen_1.0.2_1779017951647_0.15553568976282484","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @ir-kit/k6-gen. See https://github.com/ir-kit/ir-kit for migration."},"1.1.0":{"name":"@ahmedrowaihi/k6-gen","version":"1.1.0","keywords":["k6","openapi","codegen","load-testing","typescript"],"author":{"name":"Ahmed Rowaihi","email":"ahmedrowaihi@gmail.com"},"license":"MIT","_id":"@ahmedrowaihi/k6-gen@1.1.0","maintainers":[{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"}],"homepage":"https://github.com/ahmedrowaihi/contract-kit/tree/main/packages/k6/codegen","bugs":{"url":"https://github.com/ahmedrowaihi/contract-kit/issues"},"dist":{"shasum":"5fb25cb1b899d871071871842f7cbe8b4a010378","tarball":"https://registry.npmjs.org/@ahmedrowaihi/k6-gen/-/k6-gen-1.1.0.tgz","fileCount":71,"integrity":"sha512-JLJ+PvtdSnOGWWGiAQ8VcrlyP87epw0n0UuurYf+pJxTjz/O0B1YpkJt8OlQc4u+xpE0Ns74kG6WOsSbbE97+A==","signatures":[{"sig":"MEUCIQDIbUqtLlcI/e2x7JXqLt8TmLkYPMsBJUjYllTCE7fBsgIgBCE2K7FxwjK5whR/dKklgfJmCw6OyO7NIEzkin3KzVU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ahmedrowaihi%2fk6-gen@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":115689},"main":"./dist/index.js","type":"module","_from":"file:ahmedrowaihi-k6-gen-1.1.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"scripts":{"dev":"tsc -p tsconfig.build.json --watch","test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"},"_resolved":"/tmp/146e7d68ab350945c7e1dc396f1e8609/ahmedrowaihi-k6-gen-1.1.0.tgz","_integrity":"sha512-JLJ+PvtdSnOGWWGiAQ8VcrlyP87epw0n0UuurYf+pJxTjz/O0B1YpkJt8OlQc4u+xpE0Ns74kG6WOsSbbE97+A==","repository":{"url":"git+https://github.com/ahmedrowaihi/contract-kit.git","type":"git","directory":"packages/k6/codegen"},"_npmVersion":"10.8.2","description":"Programmatic generator: OpenAPI spec → typed k6 client (one function per operation), TS types, and faker-backed data builders. No hey-api plugin required.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"@hey-api/shared":"^0.4.2","@hey-api/openapi-ts":"^0.97.0","@ahmedrowaihi/codegen-core":"0.2.1","@ahmedrowaihi/openapi-core":"2.0.0","@ahmedrowaihi/openapi-tools":"1.4.0","@ahmedrowaihi/openapi-ts-faker":"4.0.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.0.0","typescript":"5.9.3","@types/node":"^22","@ahmedrowaihi/tsconfig":"0.0.0"},"peerDependencies":{"typescript":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/k6-gen_1.1.0_1779035417769_0.3609077259949929","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Moved to @ir-kit/k6-gen. See https://github.com/ir-kit/ir-kit for migration."}},"time":{"created":"2026-05-14T14:34:44.573Z","modified":"2026-05-21T09:19:30.876Z","0.1.0":"2026-05-14T14:34:44.881Z","0.1.1":"2026-05-15T22:51:51.499Z","0.2.0":"2026-05-16T00:22:07.789Z","0.2.1":"2026-05-16T01:03:58.091Z","0.2.2":"2026-05-16T03:24:32.646Z","0.2.3":"2026-05-16T14:20:35.773Z","1.0.0":"2026-05-17T08:56:47.027Z","1.0.1":"2026-05-17T10:34:40.173Z","1.0.2":"2026-05-17T11:39:11.840Z","1.1.0":"2026-05-17T16:30:17.908Z"},"bugs":{"url":"https://github.com/ahmedrowaihi/contract-kit/issues"},"author":{"name":"Ahmed Rowaihi","email":"ahmedrowaihi@gmail.com"},"license":"MIT","homepage":"https://github.com/ahmedrowaihi/contract-kit/tree/main/packages/k6/codegen","keywords":["k6","openapi","codegen","load-testing","typescript"],"repository":{"url":"git+https://github.com/ahmedrowaihi/contract-kit.git","type":"git","directory":"packages/k6/codegen"},"description":"Programmatic generator: OpenAPI spec → typed k6 client (one function per operation), TS types, and faker-backed data builders. No hey-api plugin required.","maintainers":[{"name":"ahmedrowaihi","email":"ahmedrowaihi1@gmail.com"}],"readme":"# @ahmedrowaihi/k6-gen\n\nStandalone programmatic generator: OpenAPI 3.x spec → typed [k6](https://k6.io) client + TS types + faker-backed data builders. Same shape as `@ahmedrowaihi/openapi-swift`, `@ahmedrowaihi/openapi-go`, `@ahmedrowaihi/openapi-kotlin` — pure `generate({ spec, output })`, no hey-api plugin runner required at the call site.\n\n## Use cases\n\n- The [@ahmedrowaihi/k6-tools](../tools) CLI uses this internally for `k6-tools sync` and `k6-tools init`.\n- Embedding in your own tooling (MCP servers, internal CLIs, custom generators).\n- The [@ahmedrowaihi/openapi-ts-k6](../hey-api) hey-api plugin wraps this when you prefer the `openapi-ts.config.ts` workflow.\n\n## Usage\n\n```ts\nimport { generate } from \"@ahmedrowaihi/k6-gen\";\n\nawait generate({\n  input: \"./openapi.yaml\",         // path | URL | parsed spec object\n  output: \"./src/gen\",\n  defaultBaseUrl: \"https://api.example.com\",   // optional override\n  normalize: true,                              // safe normalize preset\n});\n```\n\nEmits four files under `output`:\n\n| File         | Contents                                                                       |\n| ------------ | ------------------------------------------------------------------------------ |\n| `types.ts`   | One `export type <Name>` per spec schema. Object schemas → type literals; enums → string-literal unions; refs → `TypeReferenceNode`s. |\n| `client.ts`  | One `export function <opId>(...)` per spec operation. Path/query/body/headers typed; returns the parsed JSON response (`__parseJson<T>`). Each call tags `{ operation: <opId> }` and reads middleware headers from `@ahmedrowaihi/k6/runtime`. |\n| `data.ts`    | `data.<TypeName>(overrides?)` builders — `@faker-js/faker` underneath. Format-aware (uuid, email, date-time, …) and refs resolve to nested `data.<X>()` calls so cycles stay lazy. |\n| `index.ts`   | Re-exports the above (`* from client`, `* as types from types`, `data`). |\n\n## Shape\n\nInternally:\n1. `@hey-api/json-schema-ref-parser` bundles external refs.\n2. `@ahmedrowaihi/openapi-core`'s `normalizeSpec` runs (optional, on by default).\n3. `@ahmedrowaihi/openapi-tools/parse` returns hey-api's normalized IR.\n4. Operation + schema walkers emit `ts.factory` AST → printed with `ts.createPrinter`.\n\nThat's it — no hey-api plugin runner is loaded, no `$` DSL is touched.\n\n## See also\n\n- [@ahmedrowaihi/k6](../framework) — runtime framework consumed by the generated client\n- [@ahmedrowaihi/k6-tools](../tools) — CLI built on top of this\n","readmeFilename":"README.md"}