{"_id":"@aaboamer/fastify-plugin","_rev":"2-994aed40a178559e351d6df72921aa6a","name":"@aaboamer/fastify-plugin","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@aaboamer/fastify-plugin","version":"1.0.0","keywords":["fastify","plugin"],"author":{"name":"aaboamer"},"license":"ISC","_id":"@aaboamer/fastify-plugin@1.0.0","maintainers":[{"name":"aaboamer","email":"aboamer.nrc@gmail.com"}],"dist":{"shasum":"743d45497070f9cbe74c3ed184f367ec7f972929","tarball":"https://registry.npmjs.org/@aaboamer/fastify-plugin/-/fastify-plugin-1.0.0.tgz","fileCount":2,"integrity":"sha512-lLXCz2sCH6K6wMwbA/YXRxvSV7OPVeX+REycJuCsgTiBbfQkeJLLErdw1I/srZR+Mm3JTHakmTunNBjycsYh3Q==","signatures":[{"sig":"MEYCIQCwfzX4qp/dsZOpKzBTxxJdOcjNYLZSJWtUn1ke60+f9AIhAIEKRYyDfptpWJm+LmbIYxO/aKTNQxLRFE89jQYkMXhy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1363},"main":"index.js","type":"commonjs","scripts":{"test":"node test.js"},"_npmUser":{"name":"aaboamer","email":"aboamer.nrc@gmail.com"},"_npmVersion":"11.6.2","description":"A Fastify plugin by aaboamer","directories":{},"_nodeVersion":"24.11.1","dependencies":{"fastify-plugin":"^5.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"fastify":"^5.6.2"},"peerDependencies":{"fastify":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fastify-plugin_1.0.0_1764238619781_0.9668844415495541","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@aaboamer/fastify-plugin","version":"1.0.1","description":"A Fastify plugin by aaboamer","main":"index.js","scripts":{"test":"node test.js"},"publishConfig":{"access":"public"},"keywords":["fastify","plugin"],"author":{"name":"aaboamer"},"license":"ISC","type":"commonjs","dependencies":{"fastify-plugin":"^5.1.0"},"peerDependencies":{"fastify":"^5.0.0"},"devDependencies":{"fastify":"^5.6.2"},"_id":"@aaboamer/fastify-plugin@1.0.1","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-f74DE7ZF3aJP+3pc31UpLNtBTg89kTK0O4TT2Itm4bCwm9Am6cGYqVd1dH9Ee2B46S+IdVpa3Cr89dH/EBXWBw==","shasum":"690bf5cc258782c8febdda129dedc58e3d5c8146","tarball":"https://registry.npmjs.org/@aaboamer/fastify-plugin/-/fastify-plugin-1.0.1.tgz","fileCount":3,"unpackedSize":2215,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHu0eEVd5daNy5tTWF8p0+SjBwNRmlqMqJDjmHThg64QAiB5xxJFji8ohqkJlJVTH5l0I4DW8oNmLQz1piwPUtKNdg=="}]},"_npmUser":{"name":"aaboamer","email":"aboamer.nrc@gmail.com"},"directories":{},"maintainers":[{"name":"aaboamer","email":"aboamer.nrc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fastify-plugin_1.0.1_1764239508401_0.16261238075408824"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-27T10:16:59.701Z","modified":"2025-11-27T10:31:48.771Z","1.0.0":"2025-11-27T10:17:00.038Z","1.0.1":"2025-11-27T10:31:48.573Z"},"author":{"name":"aaboamer"},"license":"ISC","keywords":["fastify","plugin"],"description":"A Fastify plugin by aaboamer","maintainers":[{"name":"aaboamer","email":"aboamer.nrc@gmail.com"}],"readme":"# @aaboamer/fastify-plugin\n\nA Fastify plugin that adds awesome utility functions to your application.\n\n## Installation\n\n```bash\nnpm install @aaboamer/fastify-plugin\n```\n\n## Usage\n\nRegister the plugin in your Fastify instance.\n\nJavaScript\n\n```\nconst fastify = require('fastify')({ logger: true })\nconst myPlugin = require('@aaboamer/fastify-plugin')\n\n// Register the plugin\nfastify.register(myPlugin)\n\nfastify.get('/', async (request, reply) => {\n  // Use the decorator provided by the plugin\n  return { message: fastify.sayHello('User') }\n})\n\nfastify.listen({ port: 3000 }, (err) => {\n  if (err) throw err\n  console.log(`Server listening on ${fastify.server.address().port}`)\n})\n```\n\n## API Reference\n\n### `fastify.sayHello(name)`\n\nReturns a greeting string.\n\n- **name** (string): The name of the person to greet.\n    \n- **Returns**: A string greeting.\n    \n\n## License\n\nISC\n","readmeFilename":"README.md"}