{"_id":"@arirocha/openrisk-server","_rev":"2-ab077ebaa72ce9e3f8126c145e267402","name":"@arirocha/openrisk-server","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@arirocha/openrisk-server","version":"0.1.0","_id":"@arirocha/openrisk-server@0.1.0","maintainers":[{"name":"ari-rocha","email":"contact@arirocha.com"}],"dist":{"shasum":"e3e13ff33a13fe1a1cc1540397e454bf71e95af8","tarball":"https://registry.npmjs.org/@arirocha/openrisk-server/-/openrisk-server-0.1.0.tgz","fileCount":17,"integrity":"sha512-U5eeLq5GoDy+faOeU9uFNrB3rtJYh4LTghrBVPz9kQkGVzHEYTjXJzPL9XWYfLFBulFoHRXDAoOvAuhlsHdmDw==","signatures":[{"sig":"MEQCICJnfoAikjbHD8VKzQcvZTDy8ylFTxtQG6hirUhYT6zXAiAkIS9nEcZEWMOvOvgSZXdm/EsuxmAuznx9nekI0Sq4tg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13783},"main":"./dist/index.js","type":"module","types":"./dist/src/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.js"}},"gitHead":"3eaa4dac36db5a648a68d553af02cff14fb39689","private":false,"scripts":{"build":"bun run build:esm && bun run build:types","build:esm":"bun build src/index.ts --outdir=dist --target=node --format=esm","build:types":"bunx tsc -p tsconfig.build.json"},"_npmUser":{"name":"ari-rocha","email":"contact@arirocha.com"},"_npmVersion":"11.7.0","description":"To install dependencies:","directories":{},"sideEffects":false,"_nodeVersion":"25.2.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"latest","typescript":"^5.5.4"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/openrisk-server_0.1.0_1769625981634_0.37118451881188963","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@arirocha/openrisk-server","version":"0.1.1","type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/index.js"}},"publishConfig":{"access":"public"},"sideEffects":false,"private":false,"devDependencies":{"@types/bun":"latest","typescript":"^5.5.4"},"scripts":{"build:esm":"bun build src/index.ts --outdir=dist --target=node --format=esm","build:types":"bunx tsc -p tsconfig.build.json","build":"bun run build:esm && bun run build:types"},"peerDependencies":{"typescript":"^5"},"gitHead":"3eaa4dac36db5a648a68d553af02cff14fb39689","_id":"@arirocha/openrisk-server@0.1.1","description":"Server helpers for OpenRisk ingest. Use the handler with Bun, Node, or any Fetch-compatible runtime.","_nodeVersion":"25.2.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-T5/5wstL4TjtOXxkxtuOxzMVS39QHPVmKFysqj6KcD2u36oCKGTmXSwlVtxwdo3Yu9bSleoFvz7QVIDtgzGp2g==","shasum":"456d0e2f6c386ea3ddc78ec4189fdfb79d5a4094","tarball":"https://registry.npmjs.org/@arirocha/openrisk-server/-/openrisk-server-0.1.1.tgz","fileCount":17,"unpackedSize":14146,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAMR1vir20ipx/lX5zBq5fZ7Dr4g4xXybSv9IXs5PG49AiEA/9aRLPVua/uqhX6vzQCXWuTp9UPm3vM3TNLlC26gtg4="}]},"_npmUser":{"name":"ari-rocha","email":"contact@arirocha.com"},"directories":{},"maintainers":[{"name":"ari-rocha","email":"contact@arirocha.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openrisk-server_0.1.1_1769626165031_0.25773837271001865"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-28T18:46:21.447Z","modified":"2026-01-28T18:49:25.330Z","0.1.0":"2026-01-28T18:46:21.785Z","0.1.1":"2026-01-28T18:49:25.187Z"},"description":"Server helpers for OpenRisk ingest. Use the handler with Bun, Node, or any Fetch-compatible runtime.","maintainers":[{"name":"ari-rocha","email":"contact@arirocha.com"}],"readme":"# @arirocha/openrisk-server\n\nServer helpers for OpenRisk ingest. Use the handler with Bun, Node, or any Fetch-compatible runtime.\n\n## Install\n\n```bash\nnpm i @arirocha/openrisk-server\n```\n\n## Usage\n\n```ts\nimport { createOpenRiskHandler } from \"@arirocha/openrisk-server\";\n\nexport default {\n  fetch: createOpenRiskHandler(),\n};\n```\n\nIf you’re using Bun directly:\n\n```ts\nimport { serve } from \"bun\";\nimport { createOpenRiskHandler } from \"@arirocha/openrisk-server\";\n\nserve({ port: 4000, fetch: createOpenRiskHandler() });\n```\n\n## Repo\n\nOpenRisk monorepo: https://github.com/ari-rocha/openrisk\n","readmeFilename":"README.md"}