{"_id":"@adhd/apigen-plugin-api-express","_rev":"12-8e7fc87e8758adc0a9d8accd46101815","name":"@adhd/apigen-plugin-api-express","dist-tags":{"latest":"0.2.3"},"versions":{"0.1.0":{"name":"@adhd/apigen-plugin-api-express","version":"0.1.0","_id":"@adhd/apigen-plugin-api-express@0.1.0","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"e663ad0bcfeb338fab271765a58c713454c62c42","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-api-express/-/apigen-plugin-api-express-0.1.0.tgz","fileCount":8,"integrity":"sha512-wWMFlYJnUJzijYIGpj1EGdIzzA5cX9Gq4T280GzZmHAuC2hsm8VCPu60trIYLXDf4do7E3SOUiW9B5WunkMNNA==","signatures":[{"sig":"MEQCIFHQarz1Wvs4KymQiStU1iZqPawKarzoAWa1zgULxo3sAiA1us+C+WpQwdE4C6wYogngVOmxBT1s0V34J/9TNIMWdQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27075887},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"70af56163bc48ddfa898e1202c9bd768e7372a33","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"apigen target plugin (`--type api-express`) — exposes a source file's exports as an **Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call `res.json(result)`). Generates `routes.ts` to disk *and* runs a live server.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"express":"^5.2.1","pino-http":"11.0.0","@adhd/apigen-core":"^0.1.0","@adhd/apigen-runtime":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-api-express_0.1.0_1782256653307_0.842102826407656","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@adhd/apigen-plugin-api-express","version":"0.1.1","_id":"@adhd/apigen-plugin-api-express@0.1.1","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"40da82e6869b4f0be09397ec0179edefb4976271","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-api-express/-/apigen-plugin-api-express-0.1.1.tgz","fileCount":8,"integrity":"sha512-tv/raTwh6Ow1+fLqFI3wJOEss+FtatkHek35RyyWonexs37JGQQvcD0t4uKaXaVrjqTvpV/du9U0vSFCSC5/Ww==","signatures":[{"sig":"MEQCIFb6qkXX0axFKk6Qxq4XGx+jNO10IT6gFZP6hZIG8VTcAiAyeGlCTR6cKDLBbufNWNc8yBpsipe7L3lP+R2WCZiotw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57229},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"36e7fe6e3b1dd5a9356fb1dab93d9eb1746df8b0","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"apigen target plugin (`--type api-express`) — exposes a source file's exports as an **Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call `res.json(result)`). Generates `routes.ts` to disk _and_ runs a live server.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"express":"^5.2.1","pino-http":"11.0.0","@adhd/apigen-base-errors":"^0.1.1","@adhd/apigen-core-client":"^0.1.0","@adhd/apigen-engine-naming":"^0.1.1","@adhd/apigen-engine-runtime":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-api-express_0.1.1_1784686911465_0.3388167222411653","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@adhd/apigen-plugin-api-express","version":"0.1.2","_id":"@adhd/apigen-plugin-api-express@0.1.2","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"a8dd5087552df120ccf9fcc4ccc7bd32c3545281","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-api-express/-/apigen-plugin-api-express-0.1.2.tgz","fileCount":9,"integrity":"sha512-Au4L5vh8W3uMTUS76ErYaHG7NQbquqkIyYv5mHIKYcmNDRHBz7SU27k15b1bhKVB6UNxA7FjwHTdd2nACZXCMQ==","signatures":[{"sig":"MEUCIHU4Gfq6Fu88rw5VKJn7UgEf9dqem6X6VAY4Qar4FmStAiEA6X0CVV22r6cU6r4BxpEzT1710k8KtXL+Xm5WfpS2sFU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58367},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"afca4fc9097845a32a9e371ce6cd1252cbc0be6b","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"apigen target plugin (`--type api-express`) — exposes a source file's exports as an **Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call `res.json(result)`). Generates `routes.ts` to disk _and_ runs a live server.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"express":"^5.2.1","pino-http":"11.0.0","@adhd/apigen-base-errors":"^0.1.2","@adhd/apigen-core-client":"^0.1.1","@adhd/apigen-engine-naming":"^0.1.2","@adhd/apigen-engine-runtime":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-api-express_0.1.2_1784773922818_0.4097852911095343","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@adhd/apigen-plugin-api-express","version":"0.1.3","_id":"@adhd/apigen-plugin-api-express@0.1.3","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"6ff7d74109c36fc921b868bca96545401dc6f68b","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-api-express/-/apigen-plugin-api-express-0.1.3.tgz","fileCount":10,"integrity":"sha512-1Tda/5Cl8u5Iezm5lb22hr00FIfFJz2wWNE8QgTpu/qNf6T0TDIskACPtZvWiqifcUTcmMFpFNzeAkpoyZRHgw==","signatures":[{"sig":"MEYCIQCs79dGHPYjjCO2t02I5yUiXbYsgIenoRVSLreB9dD+2QIhAP7PLB612X5/te8cebLTwE4mxldw5pj1kEXGJYFZey+p","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":67708},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"eb0fd170825539850ae91a64393f8a8f376d8c7b","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"apigen target plugin (`--type api-express`) — exposes a source file's exports as an **Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call `res.json(result)`). Generates `routes.ts` to disk _and_ runs a live server.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"express":"^5.2.1","pino-http":"11.0.0","@adhd/apigen-base-errors":"^0.1.3","@adhd/apigen-core-client":"^0.1.2","@adhd/apigen-engine-naming":"^0.1.3","@adhd/apigen-engine-runtime":"^0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-api-express_0.1.3_1784831134796_0.011704107264356667","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@adhd/apigen-plugin-api-express","version":"0.1.4","_id":"@adhd/apigen-plugin-api-express@0.1.4","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"1652feea01c8faf9c8d6945358d636279eb4b1fc","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-api-express/-/apigen-plugin-api-express-0.1.4.tgz","fileCount":10,"integrity":"sha512-EWQ340fuk/vzmixM/seTAZRiAVyDCdSzzoYHrnKcbRfq41bSHO6KXMKYc4n2rzv712TMOe1U1cjL/O0To+E22A==","signatures":[{"sig":"MEUCIEYT6URTss6zMGNDgiCe0knBObPBP0soQIguzuf3/DpuAiEApeB/jja5gRhKyk7taaGAI0oty88GDbb7TmzQMmSTmaU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":74349},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"60d30f61a52a3cb55285346e534382df02258264","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"apigen target plugin (`--type api-express`) — exposes a source file's exports as an **Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call `res.json(result)`). Generates `routes.ts` to disk _and_ runs a live server.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"express":"^5.2.1","pino-http":"11.0.0","@adhd/apigen-base-errors":"^0.1.4","@adhd/apigen-core-client":"^0.1.3","@adhd/apigen-engine-naming":"^0.1.4","@adhd/apigen-engine-runtime":"^0.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-api-express_0.1.4_1784934781174_0.8391726124915952","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@adhd/apigen-plugin-api-express","version":"0.1.5","_id":"@adhd/apigen-plugin-api-express@0.1.5","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"11cca22f7389626920d78be66494c18f2cba3a5e","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-api-express/-/apigen-plugin-api-express-0.1.5.tgz","fileCount":10,"integrity":"sha512-3msutxni0yrwyEK5ctMOb+yYYTY2YicJ9XJ1TqcJEsjXLjmGAmVUYolWeHQNURn6RHzPbanFqD/tW03Ehks2hg==","signatures":[{"sig":"MEUCIGuFqfqNVEm1REtWDeLIRSB1OAIOitwXKfrFA2leSzvCAiEA8F1csta1pZLnekBFRg1iCHGu3CmLlgKyHayHbwAkX0w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75402},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"936d50dc3a4c827b29a00dcd8686ba968775cd06","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"apigen target plugin (`--type api-express`) — exposes a source file's exports as an **Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call `res.json(result)`). Generates `routes.ts` to disk _and_ runs a live server.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"express":"^5.2.1","pino-http":"11.0.0","@adhd/apigen-base-errors":"^0.1.6","@adhd/apigen-core-client":"^0.1.5","@adhd/apigen-engine-naming":"^0.1.4","@adhd/apigen-engine-runtime":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-api-express_0.1.5_1784948668489_0.5780169720535688","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@adhd/apigen-plugin-api-express","version":"0.2.0","_id":"@adhd/apigen-plugin-api-express@0.2.0","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"52860870c740fcc37b56d51014f789fb8fe2b162","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-api-express/-/apigen-plugin-api-express-0.2.0.tgz","fileCount":10,"integrity":"sha512-1XLsk1QA/BNyjso42Ox3L83DZHvgbwRnQW+VC20ndLX72jE7HcFMHKaStbJdcdV4Pp98L5EfyuCTLvrAjX7cLQ==","signatures":[{"sig":"MEYCIQDlq8poF/5kXhm1UTKxSVvRB5LfZexuIiVgjpz9db+tLgIhAK31jRfQtfn9bXTW5xc4TGc0YIPYyI5hXQdGyDBIsI72","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75588},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"1dbc0638f8eb1b7c961bc9359def6f4425da5c15","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"apigen target plugin (`--type api-express`) — exposes a source file's exports as an **Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call `res.json(result)`). Generates `routes.ts` to disk _and_ runs a live server.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"express":"^5.2.1","pino-http":"11.0.0","@adhd/apigen-base-errors":"^0.2.0","@adhd/apigen-core-client":"^0.2.0","@adhd/apigen-engine-naming":"^0.2.0","@adhd/apigen-engine-runtime":"^0.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-api-express_0.2.0_1785136553036_0.9388654400640655","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@adhd/apigen-plugin-api-express","version":"0.2.1","_id":"@adhd/apigen-plugin-api-express@0.2.1","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"0b3772c310cd89db65afbda48170eff78ea4c8a0","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-api-express/-/apigen-plugin-api-express-0.2.1.tgz","fileCount":10,"integrity":"sha512-ykJepVOClqAZs+Zcd7RxTaeTDO0+UDmPkC5SXm1oLxvNQxBn2K1NncgrEFNb2SyCAQBo0cRg3aWwEaznhQeUtg==","signatures":[{"sig":"MEQCIDajdXbiwaL8xevtKXowYh6ehUF7rborcdh6DIeLIJNTAiAMA/mEw7K/To+QQlaeMgeH3LvgWPrbR+1wwQXaoPZz6w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":76579},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"ecb6695cd4d5b19b334cd27975ad61f1a100fb25","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"apigen target plugin (`--type api-express`) — exposes a source file's exports as an **Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call `res.json(result)`). Generates `routes.ts` to disk _and_ runs a live server.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"express":"^5.2.1","pino-http":"11.0.0","@adhd/apigen-base-errors":"^0.2.0","@adhd/apigen-core-client":"^0.2.1","@adhd/apigen-engine-naming":"^0.2.1","@adhd/apigen-engine-runtime":"^0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-api-express_0.2.1_1785205021366_0.9716371174923812","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@adhd/apigen-plugin-api-express","version":"0.2.2","_id":"@adhd/apigen-plugin-api-express@0.2.2","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"dist":{"shasum":"811a3446844e6e2e2a54898fb465740ee36c8362","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-api-express/-/apigen-plugin-api-express-0.2.2.tgz","fileCount":10,"integrity":"sha512-7/K1Hnptw5ZVCYGVEVz7qeUeziReL5HWm4uKLj22boG9KxYOlL4cvssT4SmIHFxy3/w8FeFlXzOA9fEPK/eGMw==","signatures":[{"sig":"MEUCIQCHJKnV+uU6BW1TIP99ASoYHpRiIcLSvwkl62cNjhi1LgIgQv5s8fMWrMWJLo9+8xwoZ8IHxyKChpoceC3huHnsZD8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77267},"main":"./index.js","types":"./index.d.ts","module":"./index.mjs","gitHead":"35ecbc8a788f13903c5e421e4c511010ed24b11f","_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"_npmVersion":"11.6.2","description":"apigen target plugin (`--type api-express`) — exposes a source file's exports as an **Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call `res.json(result)`). Generates `routes.ts` to disk _and_ runs a live server.","directories":{},"_nodeVersion":"24.11.1","dependencies":{"express":"^5.2.1","pino-http":"11.0.0","@adhd/apigen-base-errors":"^0.2.0","@adhd/apigen-core-client":"^0.2.2","@adhd/apigen-engine-naming":"^0.2.1","@adhd/apigen-engine-runtime":"^0.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/apigen-plugin-api-express_0.2.2_1785433232821_0.12757292462877423","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@adhd/apigen-plugin-api-express","version":"0.2.3","main":"./index.js","dependencies":{"express":"^5.2.1","pino-http":"11.0.0","@adhd/apigen-core-client":"^0.3.0","@adhd/apigen-base-errors":"^0.2.0","@adhd/apigen-engine-runtime":"^0.2.3","@adhd/apigen-engine-naming":"^0.2.2"},"publishConfig":{"access":"public"},"module":"./index.mjs","types":"./index.d.ts","gitHead":"7edc5d58575a24fb9695bb3474d3e169f20eac58","_id":"@adhd/apigen-plugin-api-express@0.2.3","description":"apigen target plugin (`--type api-express`) — exposes a source file's exports as an **Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call `res.json(result)`). Generates `routes.ts` to disk _and_ runs a live server.","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-Zu8Oka+VEorkD+LFeoOW2ISVihdx4izFGoy9mE5gvccvFQTZuIu+ehPMKPswlJ+7WYnUK1MLt2hPqxd0DkUF/Q==","shasum":"bbefe2c6f09b3eeb16c101f6a294c9fcefcfc29c","tarball":"https://registry.npmjs.org/@adhd/apigen-plugin-api-express/-/apigen-plugin-api-express-0.2.3.tgz","fileCount":10,"unpackedSize":82309,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCGcANFEpGMxxRDfAIdHvqVoHgzZr/vo8U35zFqeaYUZAIgDZzSoMxedH7o6yUbsDuCL6jFgFX9IeXGsHp22pMNOtI="}]},"_npmUser":{"name":"pseudosky","email":"skywinston.sk@gmail.com"},"directories":{},"maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/apigen-plugin-api-express_0.2.3_1786144649787_0.8016209350463133"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-23T22:40:24.655Z","modified":"2026-08-07T23:17:30.202Z","0.0.1":"2026-06-23T22:40:24.943Z","0.1.0":"2026-06-23T23:17:33.562Z","0.1.1":"2026-07-22T02:21:51.596Z","0.1.2":"2026-07-23T02:32:02.988Z","0.1.3":"2026-07-23T18:25:34.935Z","0.1.4":"2026-07-24T23:13:01.300Z","0.1.5":"2026-07-25T03:04:28.640Z","0.2.0":"2026-07-27T07:15:53.199Z","0.2.1":"2026-07-28T02:17:01.500Z","0.2.2":"2026-07-30T17:40:32.984Z","0.2.3":"2026-08-07T23:17:29.963Z"},"description":"apigen target plugin (`--type api-express`) — exposes a source file's exports as an **Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call `res.json(result)`). Generates `routes.ts` to disk _and_ runs a live server.","maintainers":[{"name":"pseudosky","email":"skywinston.sk@gmail.com"}],"readme":"# @adhd/apigen-plugin-api-express\n\napigen target plugin (`--type api-express`) — exposes a source file's exports as an\n**Express HTTP API**. One `POST /<namespace>/<fn>` route per export (handlers call\n`res.json(result)`). Generates `routes.ts` to disk _and_ runs a live server.\n\nPart of [apigen](../../README.md). Driven via [`@adhd/apigen-cli`](../../cli).\n\n```bash\nalias apigen='npx tsx packages/apigen/cli/src/index.ts'\n\napigen run      --source ./api.ts --type api-express --namespace api --opt port=3000\napigen generate --source ./api.ts --type api-express --out-dir ./out    # → out/routes.ts\n\ncurl -X POST http://127.0.0.1:3000/api/getUser \\\n  -H 'content-type: application/json' -d '{\"data\":{\"userId\":\"abc\"}}'\n```\n\n`--opt` keys: `port` (`3000`), `host` (`127.0.0.1`), `routePrefix` (`\"\"`). Method must be\nuppercase `POST`; arguments are wrapped in `{\"data\":{…}}` (the request envelope).\n","readmeFilename":"README.md"}