{"_id":"@bjorkhaug/sresponses","name":"@bjorkhaug/sresponses","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sresponses","version":"0.0.1","description":"Simple response functions for Deno to help with consistent response creation.","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sresponses.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sresponses/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"devDependencies":{"@types/node":"^18.11.9"},"_id":"@bjorkhaug/sresponses@0.0.1","gitHead":"4b36c09b07dfe7d4f70c2aed7fc4ca32d55c4039","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sresponses#readme","_nodeVersion":"21.6.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-HffxQGYSrFuK93mhlbPLjJSRlj8uRdYQvwyCY4U5PQGCYO+JJ0PGQcY5+Jy1JHxRL7MJ60re2qVOMl2SROvFPg==","shasum":"47cbb8bf3c1cb75106eb0225580c688dff8349e9","tarball":"https://registry.npmjs.org/@bjorkhaug/sresponses/-/sresponses-0.0.1.tgz","fileCount":16,"unpackedSize":31135,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2bqoCiySyLXyxofAIFn225p8i7NBcO9HjEZzpr8Gd6gIhAKtil1lwmhm5OP80Qkr1jMFAge45AwabaPWsOpMEBd7j"}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sresponses_0.0.1_1707255441200_0.8867081357632136"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-06T21:37:21.039Z","0.0.1":"2024-02-06T21:37:21.359Z","modified":"2024-02-06T21:37:21.610Z"},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"description":"Simple response functions for Deno to help with consistent response creation.","homepage":"https://github.com/simenbjorkhaug/sresponses#readme","repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sresponses.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sresponses/issues"},"license":"MIT","readme":"# SResponses\n\nPackage to deal with responses from the server in Deno.\n\n## Usage\n\n```typescript\nimport { ok } from \"npm:@bjorkhaug/sresponses\";\n\nfunction GET() {\n  const headers = new Headers()\n  headers.set(\"Content-Type\", \"application/json\")\n\n  const body = JSON.stringify({ message: \"Hello, World!\" })\n\n  return ok(body, { headers })\n}\n```\n","readmeFilename":"README.md"}