{"_id":"nuxt-api-shield","_rev":"30-da04874493efe3ba2456175332d95e07","name":"nuxt-api-shield","dist-tags":{"latest":"2.0.0"},"versions":{"0.1.0":{"name":"nuxt-api-shield","version":"0.1.0","keywords":["nuxt","nuxt-module","security"],"license":"MIT","_id":"nuxt-api-shield@0.1.0","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"2bcd00d2626e2957c244dab2c03179d3b7caccec","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.1.0.tgz","fileCount":19,"integrity":"sha512-4DFnxoXh0sa94tvFvDuidD69gx7PJFBJDqHMEHC8RL/WQcHDube3HTflFCVy1QNsom+9DVpoePXMfHM6TV+auQ==","signatures":[{"sig":"MEUCICmbUUuF4I3UTQPtE5Css0UDU3knRJ8TPvPHf17/B/1TAiEAnoyRcJnhAO60uOdY5IpGScLvnO447uKwheCbzRj34Cs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10085},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run","prepack":"nuxt-module-build build","release":"yarn lint && yarn test && yarn prepack && changelogen --release && yarn publish && git push --follow-tags","dev:build":"nuxi build playground","test:watch":"vitest watch","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/your-org/nuxt-api-shield.git","type":"git"},"description":"My new Nuxt module","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.1.0_1711731542238_0.900933238487408","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"nuxt-api-shield","version":"0.2.0","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.2.0","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"948b08a8ebaa1fab67e1f6afb6d8b3434fa7231d","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.2.0.tgz","fileCount":19,"integrity":"sha512-SvS2rr895e3RkSylSyDtp6VKIzDgeLV8vPAWxkTd0rWbwlWiicfQz1f0t8+GVjLQ6V+qszOaBXukUAULiOhpzg==","signatures":[{"sig":"MEYCIQDzTUXaPH37MTz1cxvxoTlpSAbRuwseK3zrRWtDJb9SGAIhAMo698YgU5lHEO1ciRnFL+DRKQLlAACqv3mNWfwB5hCe","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11371},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 7000","prepack":"nuxt-module-build build","release":"yarn lint && yarn test && yarn prepack && changelogen --release && yarn publish && git push --follow-tags","dev:build":"nuxi build playground","test:watch":"vitest watch","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/your-org/nuxt-api-shield.git","type":"git"},"description":"My new Nuxt module","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.2.0_1711796753432_0.9141915355121533","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"nuxt-api-shield","version":"0.3.0","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.3.0","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"75dff23b2f54f49bd5391c11abb74a748e6a219e","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.3.0.tgz","fileCount":26,"integrity":"sha512-nYD4mr1hd5Bax+/mB0E6LficJLtcPMKI1xUpc3mcN/vAm6o1YKa/dCwVaiYy1Jkbo492B4bvMfrqe1TrJQEPLw==","signatures":[{"sig":"MEQCIAntnnsDnL5F4Fv8xtzuEJ9sXM6+uD6PqcVhmkytz/rpAiAjCWdRYp9DWNKQKApQo8nAwoVjhfigKcahHYrUC7HaYw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12348},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 7000","prepack":"nuxt-module-build build","release":"yarn lint && yarn test && yarn prepack && changelogen --release && yarn publish && git push --follow-tags","dev:build":"nuxi build playground","test:watch":"vitest watch","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.3.0_1711813961790_0.31521287746849946","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"nuxt-api-shield","version":"0.4.0","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.4.0","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"25b6a9913ff66d96f7b73e4f8491d128321e84e5","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.4.0.tgz","fileCount":26,"integrity":"sha512-VOLzgBhLB/eeuIp3BWiD5/kiHgBjshtoPwvg5JoAZ4Kl0WtTqcmJxeihynLFKPvs2w3VVrWhCd1ld6U0uinPUw==","signatures":[{"sig":"MEUCIQCBEiAfNfm44Kx7cVTBMXyZ4LyCbRiHr54rFM1CGye8UAIgMjMiyPtr+J7pyJw+JsGXC3IqLM1tVdl2kjdOKCNnJt0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13831},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 7000","prepack":"nuxt-module-build build","release":"yarn lint && yarn test && yarn prepack && changelogen --release && yarn publish && git push --follow-tags","dev:build":"nuxi build playground","test:watch":"vitest watch","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.4.0_1713254698323_0.46840125692902457","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"nuxt-api-shield","version":"0.4.1","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.4.1","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"e4cffbb0f7755fd2106f5da76adab9b4bbef438b","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.4.1.tgz","fileCount":26,"integrity":"sha512-ALfS8Xg1eJyU8kepZwEVcxDXUgmFjavDbNzf37PXpRB8KqYs/KXrvChIMFk6jFNXBnEe70DwfYsBY+hygiGbyQ==","signatures":[{"sig":"MEYCIQDRTQilcPlCi5treMpZ/qTL2UiYZ0f08QP1ybH+J1jltwIhAIPFTcxlWiZGZJPcsZsU7FrGn/6aohkRI3s8aXpPCrIZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14014},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 7000","prepack":"nuxt-module-build build","release":"yarn lint && yarn test && yarn prepack && changelogen --release && yarn publish && git push --follow-tags","dev:build":"nuxi build playground","test:watch":"vitest watch","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.4.1_1715434073150_0.003384581666064035","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"nuxt-api-shield","version":"0.5.0","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.5.0","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"f17252451c5686a61859dd4165707c584e7a67a9","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.5.0.tgz","fileCount":28,"integrity":"sha512-52UURoSGxch9Ftu+RB0KNN574cKRR5HAaNTzjLAU2kDKYhluxGTeIqx+sjm/YkZ4I7ye6g6g96AttLAYcqY6Cw==","signatures":[{"sig":"MEUCIDTG/PySuLvxPN3wzH3z47oC2V3PuckMw6Xfi+dXnG9NAiEAzDoH+qwzk/8b5OE5cCNPtd6d5jz4skvd1eTqvoZqiaw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15997},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 7000","prepack":"nuxt-module-build build","release":"yarn lint && yarn test && yarn prepack && changelogen --release && yarn publish && git push --follow-tags","dev:build":"nuxi build playground","test:watch":"vitest watch","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.11.1"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.5.0_1715438721482_0.9758379038389078","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"nuxt-api-shield","version":"0.6.0","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.6.0","dist":{"shasum":"53d0ba8ae73f70d2c49e2414dca14cddba68feb2","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.6.0.tgz","fileCount":28,"integrity":"sha512-hX37+Yekr71VrVB8Ih6vgCMqnPEF6OrDa39PczqgXDef1emgHfo/VmEiORSxROA3W06P/jVXV6vKCXWdNkJ6Cw==","signatures":[{"sig":"MEUCIQD/M21JJwM89FHqJgC3ncpAHG2Hjw9fNcGx9pazswUNaQIgSq5LUiLVQ58IAOO4vSrptZy/7zJ8aqB6825HJ3RWzNo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16966},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 7000","prepack":"nuxt-module-build build","release":"yarn lint && yarn test && yarn prepack && changelogen --release && yarn publish && git push --follow-tags","dev:build":"nuxi build playground","test:watch":"vitest watch","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.6.0_1719419639115_0.5811291765478035","host":"s3://npm-registry-packages"}},"0.6.3":{"name":"nuxt-api-shield","version":"0.6.3","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.6.3","dist":{"shasum":"1d6e01db156942a99d7c3a3555eb2492afdaa496","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.6.3.tgz","fileCount":28,"integrity":"sha512-GVPqf8vuw14otOU8gkdqQrDmnBEWU9xa3ArtxnQjQ1YrGnnUktR4r3Ce+gVkmq1QkbEKwYjNTOvcoN+/eb36Qw==","signatures":[{"sig":"MEQCIC2ehq99YQfHiHo/zXUyBWLFweGfjlSxyIXkraES0gB6AiAaFu/ePMUL4M9zdGtG0NWOzBihapZib693SGXP1si/5g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17699},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 7000","prepack":"nuxt-module-build build","release":"yarn lint && yarn test && yarn prepack && changelogen --release && yarn publish && git push --follow-tags","dev:build":"nuxi build playground","test:watch":"vitest watch","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn version --minor && yarn release","release:patch":"yarn version --patch && yarn release"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.6.3_1719421232065_0.24566145346466195","host":"s3://npm-registry-packages"}},"0.6.5":{"name":"nuxt-api-shield","version":"0.6.5","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.6.5","dist":{"shasum":"f2e8910dc5a742ba355d0cbcb56fb4de0ae9c2ce","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.6.5.tgz","fileCount":28,"integrity":"sha512-WHMqZn1jOSIxbciAXB6gu+61SY5+neeFr3BLopVhQ8lUAc6BU40UZMNi7EsY/ZPnWxgZQG+F9SxwGhQHU9RTuw==","signatures":[{"sig":"MEQCIAJoheihDatH5yPuP0riSYqIZjH0hyDHRlGc+AAoT8UTAiAt9bh4eMZVqPTrOZv6cEYvxoFmSCPdTatZku/QQMXw4w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17859},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 7000","prepack":"nuxt-module-build build","release":"yarn lint && yarn test && yarn prepack && changelogen --release && yarn publish --new-version $(node -p \"require('./package.json').version\") && git push --follow-tags","dev:build":"nuxi build playground","test:watch":"vitest watch","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn version --minor && yarn release","release:patch":"yarn version --patch && yarn release"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.6.5_1719421348726_0.6599833110438307","host":"s3://npm-registry-packages"}},"0.6.6":{"name":"nuxt-api-shield","version":"0.6.6","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.6.6","dist":{"shasum":"52d639c581a6b08e91f256fd409d1500463c050b","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.6.6.tgz","fileCount":28,"integrity":"sha512-TAA90zumn2dDlGLOPWu0u7mBeT1KUEa0CokAiVRIiOO+Dy2RlocIKCTC52J60tJnnrk7rpxRpj5v1iyuLaUehg==","signatures":[{"sig":"MEYCIQCyR39H0q9ClKKMS4Y9RE/fFRBLcTJblTQezM+lIvdb1AIhAML1FRAvbnbnEA/ksFeHSh0kJcNTivJD/bzt2qgYvB8j","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18367},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 7000","prepack":"nuxt-module-build build","dev:build":"nuxi build playground","test:watch":"vitest watch","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.6.6_1719421643405_0.24876789953659406","host":"s3://npm-registry-packages"}},"0.6.7":{"name":"nuxt-api-shield","version":"0.6.7","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.6.7","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"c6a3e4474a12e6b2b7ce6ce4db27676b9c906aa6","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.6.7.tgz","fileCount":28,"integrity":"sha512-72M4P/ECQTuh+SUVSXOd7OVoVcw2CKAJb7DJQTShrZoIqtBYxtFhlMJcIDZawIslGOPwvPOUTzD0x0LzJzCL6Q==","signatures":[{"sig":"MEQCIDsJGyF5riWvzoPZceM881tJcscaQCIA0ks4Y8p/EgEnAiAQohpIox3pP1o6s5jv4NjR9S0e5+a/nch6S4qYPKq7/A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18742},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=basic --disable-console-intercept","prepack":"nuxt-module-build build","dev:build":"nuxi build playground","test:watch":"vitest watch  --testTimeout 15000 --reporter=basic --disable-console-intercept ","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.6.7_1720085398934_0.6548887046989131","host":"s3://npm-registry-packages"}},"0.6.8":{"name":"nuxt-api-shield","version":"0.6.8","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.6.8","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"3c7c3f36bef09125c57589c3388c843fed41313b","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.6.8.tgz","fileCount":28,"integrity":"sha512-LS3tWq8cEulpVXR4CQKw22H7vuRSYEvquICZw56J/seJkKg78FN8N3QWpT7ir7fFIQTj8ZvJ4H0cjmVczm5NNQ==","signatures":[{"sig":"MEUCIGBv1cAFQbI9GDtrMOQcmQVABno2dhFo2D4AXSWlenyEAiEA52bbZnIjc6r5AcrCoLknQPSHXmae537vl1MBGKc94jE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18839},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=basic --disable-console-intercept","prepack":"nuxt-module-build build","dev:build":"nuxi build playground","test:watch":"vitest watch  --testTimeout 15000 --reporter=basic --disable-console-intercept ","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.5.5"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.6.8_1725450539418_0.8888431666775469","host":"s3://npm-registry-packages"}},"0.6.9":{"name":"nuxt-api-shield","version":"0.6.9","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.6.9","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"929a228bbef9db6b0c009029c68aab323bc52ee9","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.6.9.tgz","fileCount":28,"integrity":"sha512-jpW/SKENoiPvvcS/Yuuf4fSkLFUWU8N4W+2QhscjR5iXyeG5+cAw4sC9ODpZf/oYvSSoeb/MCDworvP9dkXtjw==","signatures":[{"sig":"MEUCIAoq/CPGiqBD64LDrXwdFFO8ftKQF90Ob9Q8RL/18k3gAiEAqEf4qhRE1L16BRQEubydL6s2RfPSXwwxzhmc/nDAbl4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18575},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=basic --disable-console-intercept","prepack":"nuxt-module-build build","dev:build":"nuxi build playground","test:watch":"vitest watch  --testTimeout 15000 --reporter=basic --disable-console-intercept ","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"devDependencies":{"nuxt":"^3.11.1","eslint":"^8.57.0","vitest":"^1.4.0","@types/node":"^20.11.29","changelogen":"^0.5.5","@nuxt/schema":"^3.11.1","@nuxt/devtools":"latest","@nuxt/test-utils":"^3.12.0","@nuxt/eslint-config":"^0.2.0","@nuxt/module-builder":"^0.8.3"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.6.9_1725450799189_0.1569287179579668","host":"s3://npm-registry-packages"}},"0.7.0":{"name":"nuxt-api-shield","version":"0.7.0","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.7.0","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"b0912a5bf1a2d908f5f161a09e0652e852a267ed","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.7.0.tgz","fileCount":30,"integrity":"sha512-cmSlbc+/xa3DwpWRV/SY3kshZYR6sgHQHmo1LoN8GeHz1rsmdDPD8JMz8CPSnMUuZMjLDRP+SVIidh3fbv+aOg==","signatures":[{"sig":"MEQCIDXrVyuQuO8TFqV0+G2nzEiGwkZrlgKPPXyF1XCK+e5aAiBawJ4+KrphDbmO4IxBMR1qitP2oIfli42F304uo2T3iw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19462},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=basic --disable-console-intercept","prepack":"nuxt-module-build build","dev:build":"nuxi build playground","test:watch":"vitest watch  --testTimeout 15000 --reporter=basic --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72","devDependencies":{"nuxt":"^3.13.0","eslint":"^9.10.0","vitest":"^2.0.5","vue-tsc":"^2.1.6","typescript":"latest","@types/node":"latest","changelogen":"^0.5.5","@nuxt/schema":"^3.13.1","@nuxt/devtools":"^1.4.2","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^0.5.6","@nuxt/module-builder":"^0.8.3"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.7.0_1726141646412_0.007509198715176746","host":"s3://npm-registry-packages"}},"0.8.0":{"name":"nuxt-api-shield","version":"0.8.0","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.8.0","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"c2951901e166bd0c6b6ac3ad9d3b3f3ed3ff5635","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.8.0.tgz","fileCount":30,"integrity":"sha512-WTiWkGB1WaXU4X/RV9hdXbM3aGIdRY7i1o2Yz3UCh2nVMqXt0JURYVRod4F5Rgh8WIEa7Ea00dy5ISIpkN3a4g==","signatures":[{"sig":"MEUCIQDmedO3Hm0DHWNeSg0xVtCH8Dj/VDZS0IWTIuzM84b3EgIgVQ9TqITyB+LkMNf49RCqLl5DfNkp9ididcjK/aZBCyc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19977},"main":"./dist/module.cjs","type":"module","types":"./dist/types.d.ts","exports":{".":{"types":"./dist/types.d.ts","import":"./dist/module.mjs","require":"./dist/module.cjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=basic --disable-console-intercept","prepack":"nuxt-module-build build","dev:build":"nuxi build playground","test:watch":"vitest watch  --testTimeout 15000 --reporter=basic --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxt":"^3.13.0","eslint":"^9.10.0","vitest":"^2.0.5","vue-tsc":"^2.1.6","typescript":"latest","@types/node":"latest","changelogen":"^0.5.5","@nuxt/schema":"^3.13.1","@nuxt/devtools":"^1.4.2","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^0.5.6","@nuxt/module-builder":"^0.8.3"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.8.0_1726918169965_0.7881666601040538","host":"s3://npm-registry-packages"}},"0.8.1":{"name":"nuxt-api-shield","version":"0.8.1","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.8.1","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"6f499c236a1530f464fa0651d3d5aa7c2e9d44bc","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.8.1.tgz","fileCount":27,"integrity":"sha512-e88nDG/PUMI3shQ8n3JAcRI8HVOqJdKQMdBrQ3x48/BCzYZvA1WIxgmkCC6GvOccvmmMEg9pR1HK9I3tStKUmQ==","signatures":[{"sig":"MEQCIC7n9f4FckZcDRamvYDiFIUiBuBqnajX0cxNtglKO/GvAiAcb0GU/MUBgTAyJObtmiBIOjUDalENu3Dt49JUYe+ehQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21104},"main":"./dist/module.mjs","type":"module","exports":{".":{"import":"./dist/module.mjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=basic --disable-console-intercept","prepack":"nuxt-module-build build","dev:build":"nuxi build playground","test:watch":"vitest watch  --testTimeout 15000 --reporter=basic --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","actor":{"name":"rrd","type":"user","email":"rrd@1108.cc"},"email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxt":"^3.13.0","eslint":"^9.10.0","vitest":"^2.0.5","vue-tsc":"^2.1.6","typescript":"latest","@types/node":"latest","changelogen":"^0.5.5","@nuxt/schema":"^3.13.1","@nuxt/devtools":"^1.4.2","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^0.7.0","@nuxt/module-builder":"^0.8.3"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.8.1_1751826352369_0.40395924162414687","host":"s3://npm-registry-packages-npm-production"}},"0.8.2":{"name":"nuxt-api-shield","version":"0.8.2","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.8.2","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"805ab1d36aa8e1a1f611bb962fa3200d3029fc40","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.8.2.tgz","fileCount":30,"integrity":"sha512-79BfnchcGqGX2aE8FB2G0NIYXEwITYhVR1h5KKCI2nu63TnG9EMP/yKBIL1pt0dPUSTn4Ni4ph2iOpR2zSjJqg==","signatures":[{"sig":"MEUCIBFQzJ1cH1W7EkMwQCpIFcb+MPk439qS/jPv31z2VjJqAiEAv3AzyQODhL96lKbPJLl/q+UhgK1pCqeQtAnqyZDCWac=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22535},"main":"./dist/module.mjs","type":"module","exports":{".":{"import":"./dist/module.mjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=basic --disable-console-intercept","prepack":"nuxt-module-build build","dev:build":"nuxi build playground","test:watch":"vitest watch  --testTimeout 15000 --reporter=basic --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","actor":{"name":"rrd","type":"user","email":"rrd@1108.cc"},"email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^3.13.0","eslint":"^9.10.0","vitest":"^3.0.0","vue-tsc":"^3.0.0","typescript":"latest","@types/node":"latest","changelogen":"^0.6.0","@nuxt/schema":"^3.13.1","@nuxt/devtools":"^2.0.0","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.8.2_1751891701721_0.8851633533267744","host":"s3://npm-registry-packages-npm-production"}},"0.8.3":{"name":"nuxt-api-shield","version":"0.8.3","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.8.3","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"b7f8916e384e7786e84c655e84d048cd64834cc9","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.8.3.tgz","fileCount":27,"integrity":"sha512-rR6SIBzZrnErcHjEq35JNUJV5OmOKjbdFPadieh6bfl16BzCwNxMWLwkF9R3Xz951A+ZoavnUAD4zLShfFqpTA==","signatures":[{"sig":"MEUCIQCQH07VEVziKSmtPKkXd6mrKEQRbp7GJsIgl4iuwuzcWQIgdSSoJQoWA/g/Mcx0KvK3qMGUA5ImVikEHg8ggY+eVaA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30200},"main":"./dist/module.mjs","type":"module","exports":{".":{"import":"./dist/module.mjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=basic --disable-console-intercept","prepack":"nuxt-module-build build","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","test:watch":"vitest watch  --testTimeout 15000 --reporter=basic --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^3.13.0","eslint":"^9.10.0","vitest":"^3.0.0","vue-tsc":"^3.0.0","typescript":"latest","@types/node":"latest","changelogen":"^0.6.0","@nuxt/schema":"^3.13.1","@nuxt/devtools":"^2.0.0","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.8.3_1756380230785_0.4273840235783575","host":"s3://npm-registry-packages-npm-production"}},"0.8.4":{"name":"nuxt-api-shield","version":"0.8.4","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.8.4","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"da2bab17408489db854d1fd6fc7e23a0306550e3","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.8.4.tgz","fileCount":27,"integrity":"sha512-51SSBQ3DRLIMIiNuqSabhq4+llwsdYpz9sB7lN089dSdKFC0huG+NEhK16jmTvZpG4hqu8Y3m+GbD5UE+Wxw+Q==","signatures":[{"sig":"MEYCIQCj1k63BhoHJzXXwSDk+6/Q8b8uVRq5wt9Pj9dq9ujVRAIhAJqjdndnYI6GmqNxq3H4aC4nmbTiMw6fZycaQmAa+mfc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30396},"main":"./dist/module.mjs","type":"module","exports":{".":{"import":"./dist/module.mjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","prepack":"nuxt-module-build build","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","test:watch":"vitest watch  --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^3.13.0","eslint":"^9.10.0","vitest":"^3.0.0","vue-tsc":"^3.0.0","typescript":"latest","@types/node":"latest","changelogen":"^0.6.0","@nuxt/schema":"^3.13.1","@nuxt/devtools":"^2.0.0","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.8.4_1759836196178_0.44060902566069116","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"nuxt-api-shield","version":"0.9.0","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.9.0","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"0db9c8e502c2c4318f9581c04bfced179a252cdf","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.9.0.tgz","fileCount":31,"integrity":"sha512-lW7tck9Re3m09Xbv0+LUnXKd7MV7bJgNFkn73v6D8cqZFfatvxh3bsMiA5mtWlbOrEvVntmp0APS/1H2TNqZsA==","signatures":[{"sig":"MEQCIHPemIk3/EpLaVlGP5hGWjNsBZyguj3vX9ZvGu6SuGvxAiBxqfRfYJSVPJSi2XGmQtodnRWv8obPTNYSa/POEc2V3g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34517},"main":"./dist/module.mjs","type":"module","exports":{".":{"import":"./dist/module.mjs"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","prepack":"nuxt-module-build build","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","test:watch":"vitest watch  --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^3.12.2"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^3.13.0","eslint":"^9.10.0","vitest":"^3.0.0","vue-tsc":"^3.0.0","typescript":"latest","@types/node":"latest","changelogen":"^0.6.0","@nuxt/schema":"^3.13.1","@nuxt/devtools":"^2.0.0","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.9.0_1763111492331_0.81928951352775","host":"s3://npm-registry-packages-npm-production"}},"0.9.1":{"name":"nuxt-api-shield","version":"0.9.1","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.9.1","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"d1e6680d26385646f4e030e7a7604db65c2c4d09","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.9.1.tgz","fileCount":31,"integrity":"sha512-btZkvcPk9sGykgeaVnPJxuX685KDB7NoM1CGVhBhO+xRCOz7ZmRHLko/QIjhUIQQznqU+VEsE0Ej+7jfBRHDGA==","signatures":[{"sig":"MEUCIBnSNitI+D6T6EdNCHmKS/yJwwnR7om19hNbj4ageJSiAiEAtOPUeo9eYJ9XKOR4zPYeMLQ4hREt2M4XK8Fjt9ldxI8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35928},"main":"./dist/module.mjs","type":"module","types":"./dist/types.d.mts","exports":{".":{"types":"./dist/types.d.mts","import":"./dist/module.mjs"},"./types":{"types":"./dist/types.d.mts"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","prepack":"nuxt-module-build build && node scripts/add-types-export.js","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","test:watch":"vitest watch  --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^4.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^4.0.0","eslint":"^9.10.0","vitest":"^4.0.0","vue-tsc":"^3.0.0","typescript":"latest","@types/node":"latest","changelogen":"^0.6.0","@nuxt/schema":"^4.0.0","@nuxt/devtools":"^3.0.0","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.9.1_1764948660192_0.40465295204922835","host":"s3://npm-registry-packages-npm-production"}},"0.9.3":{"name":"nuxt-api-shield","version":"0.9.3","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.9.3","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"cd166ea61aca991dc190a6c055f13b89bb70b36d","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.9.3.tgz","fileCount":32,"integrity":"sha512-1qpU1oKHCGxY8RWWHgdWdaICEaMGD6SzYm2o1zdGhmO0ndy/5jx8gUwy9sn9bThc134nveQQWnLAotm+5LA1zA==","signatures":[{"sig":"MEUCIC8V2PYMml3dZMGYsEK/s7ILyxfoCSIfH6Ufaq7Jj+qOAiEAiw/NKxKGT5HQvyJt29JpQQ8rLsGRLUS83uS8Oa6WSR4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37249},"main":"./dist/module.mjs","type":"module","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/module.mjs"},"./types":{"types":"./dist/index.d.mts"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept && yarn test:types","prepack":"nuxt-module-build build && node scripts/generate-types.js","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","build:test":"nuxt-module-build build --logLevel silent 2>&1 | grep -v 'Potential missing package.json' || true && node scripts/generate-types.js","test:types":"bash scripts/test-types-fix.sh","test:watch":"vitest watch  --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"deprecated":"This version was released by mistake, please use v0.10.0 instead","repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^4.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^4.0.0","eslint":"^9.10.0","vitest":"^4.0.0","vue-tsc":"^3.0.0","typescript":"latest","@types/node":"latest","changelogen":"^0.6.0","@nuxt/schema":"^4.0.0","@nuxt/devtools":"^3.0.0","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.9.3_1764951565592_0.8289340529324309","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"nuxt-api-shield","version":"0.10.0","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.10.0","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"dist":{"shasum":"c6203e79e450fdeb2330b7ddb59e37082cb2ef6f","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.10.0.tgz","fileCount":32,"integrity":"sha512-0LkQ9fs6xlEvGn55+9ii4lm71IrPf9Jzu8cx1DxHO27jh7HEFCk3qihbeH0ClU45hnH9c6MZmbO0vYjn+Zyjiw==","signatures":[{"sig":"MEYCIQCpdjBDlErh/vmMsRJ6Sth/GntBqyC30Q2hM1XXMjuWDAIhAJKzf/ZM6Pg93L3w9m1Yx50BfhUh2F5Mg7Fk8kLy8Zmj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37253},"main":"./dist/module.mjs","type":"module","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/module.mjs"},"./types":{"types":"./dist/index.d.mts"}},"scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"vitest run --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept && yarn test:types","prepack":"nuxt-module-build build && node scripts/generate-types.js","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","build:test":"nuxt-module-build build --logLevel silent 2>&1 | grep -v 'Potential missing package.json' || true && node scripts/generate-types.js","test:types":"bash scripts/test-types-fix.sh","test:watch":"vitest watch  --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","directories":{},"dependencies":{"defu":"^6.1.4","@nuxt/kit":"^4.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^4.0.0","eslint":"^9.10.0","vitest":"^4.0.0","vue-tsc":"^3.0.0","typescript":"latest","@types/node":"latest","changelogen":"^0.6.0","@nuxt/schema":"^4.0.0","@nuxt/devtools":"^3.0.0","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.10.0_1764952144951_0.9455034921304954","host":"s3://npm-registry-packages-npm-production"}},"0.10.1":{"name":"nuxt-api-shield","version":"0.10.1","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.10.1","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"homepage":"https://github.com/rrd108/nuxt-api-shield#readme","bugs":{"url":"https://github.com/rrd108/nuxt-api-shield/issues"},"dist":{"shasum":"28de06b51f44a5b36bfc8f75c6f596ae99b90e1f","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.10.1.tgz","fileCount":36,"integrity":"sha512-YQdy8xqvkhPS01MtdKtQA2uc5Da9Hfxg0um5rZFBRCRTs/OqSvCYYEda8YwxMYZB7fGwalKu9lL9jYJxoyIhVQ==","signatures":[{"sig":"MEQCIG2s38uvjFoAJ6gBflUoE/PO9XJZxFufHNNQ0gGl4S1RAiA5t6z7jpbUSSWXS+x8pG1+SiYWuc24WurMLh5Gc2VmfA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38670},"main":"./dist/module.mjs","type":"module","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/module.mjs"},"./types":{"types":"./dist/index.d.mts"}},"gitHead":"1d654ad87cdc3c75ded79e87c5fef214acc7ffc1","scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"yarn dev:prepare && vitest run --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept && yarn test:types","prepack":"nuxt-module-build build && node scripts/generate-types.js","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","test:types":"vue-tsc --noEmit --project ./test/tsconfig.json --moduleResolution bundler","test:watch":"vitest watch  --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"git+https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"_npmVersion":"10.9.2","description":"Nuxt API Shield - Rate Limiting","directories":{},"_nodeVersion":"22.17.0","dependencies":{"defu":"^6.1.4","@nuxt/kit":"^4.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^4.0.0","eslint":"^9.10.0","vitest":"^4.0.0","vue-tsc":"^3.0.0","typescript":"latest","@types/node":"latest","changelogen":"^0.6.0","@nuxt/schema":"^4.0.0","@nuxt/devtools":"^3.0.0","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.10.1_1774690198883_0.29509169808179037","host":"s3://npm-registry-packages-npm-production"}},"0.10.2":{"name":"nuxt-api-shield","version":"0.10.2","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@0.10.2","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"homepage":"https://github.com/rrd108/nuxt-api-shield#readme","bugs":{"url":"https://github.com/rrd108/nuxt-api-shield/issues"},"dist":{"shasum":"5f7b3b24d0775c151f17abbf67d6173c756e6b6b","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-0.10.2.tgz","fileCount":36,"integrity":"sha512-oMc48DpA2FG2VwjTxRf2MZsFf9Xu4/uhsVf3utWUqJNs7kYxMXQtJTMktPb+KiGRawyENnI3xhg+f2mmgM6Ffg==","signatures":[{"sig":"MEYCIQD+y/ovqt45oG++Y1lSQFS7jDsG4D5JcXlc/xxYV/ICTgIhAKnrXy09pNmrqAzXRlr8v1qeITL26MUODBavlOdHZ/Ys","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":273965},"main":"./dist/module.mjs","type":"module","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/module.mjs"},"./types":{"types":"./dist/index.d.mts"}},"gitHead":"dc290da85b7186f2953c31b40b1b5974b4f53c53","scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"yarn dev:prepare && vitest run --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept && yarn test:types","prepack":"nuxt-module-build build && node scripts/generate-types.js","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","test:types":"vue-tsc --noEmit --project ./test/tsconfig.json --moduleResolution bundler","test:watch":"vitest watch  --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"git+https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"_npmVersion":"10.9.2","description":"Nuxt API Shield - Rate Limiting","directories":{},"resolutions":{"typescript":"5.8.3"},"_nodeVersion":"22.17.0","dependencies":{"defu":"^6.1.4","@nuxt/kit":"^4.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^4.0.0","eslint":"^9.10.0","vitest":"^4.0.0","vue-tsc":"^3.0.0","typescript":"~5.8.3","@types/node":"^25.5.0","changelogen":"^0.6.0","@nuxt/schema":"^4.0.0","@nuxt/devtools":"^3.0.0","@nuxt/test-utils":"^3.14.2","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_0.10.2_1774886806958_0.8686182417644273","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"nuxt-api-shield","version":"1.0.0","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@1.0.0","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"homepage":"https://github.com/rrd108/nuxt-api-shield#readme","bugs":{"url":"https://github.com/rrd108/nuxt-api-shield/issues"},"dist":{"shasum":"e2297ccee52262f6d575357928c4814c58605417","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-1.0.0.tgz","fileCount":34,"integrity":"sha512-mV2E3A/oefzN6V7z4sN3tSbCjBjkzakNBU+tDzJc4kZLInJRTxSN2JUa4724MMWCd0CYzVv3+HHkc/dJ7DHWoA==","signatures":[{"sig":"MEUCIQChCVIblIufKRsd1eJP6VAE5ooD/EBSdRBsByusSaSZGgIgLjHAiSiY+tmM4Gd3zmZ49oBywIve+1qkhqFrXrKqCe8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":282612},"main":"./dist/module.mjs","type":"module","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/module.mjs"},"./types":{"types":"./dist/index.d.mts"}},"gitHead":"e5e51b950230d85a4d62a2068388f14d1c81cc4d","scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"yarn dev:prepare && vitest run --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept && yarn test:types","prepack":"nuxt-module-build build && node scripts/generate-types.js","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","test:types":"vue-tsc --noEmit --project ./test/tsconfig.json --moduleResolution bundler","test:watch":"vitest watch  --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"git+https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"_npmVersion":"10.9.2","description":"Nuxt API Shield - Rate Limiting","directories":{},"resolutions":{"typescript":"~6.0.0"},"_nodeVersion":"22.17.0","dependencies":{"defu":"^6.1.4","@nuxt/kit":"^4.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^4.0.0","eslint":"^10.0.0","vitest":"^4.0.0","vue-tsc":"^3.0.0","typescript":"~6.0.0","@types/node":"^25.5.0","changelogen":"^0.6.0","@nuxt/schema":"^4.0.0","@nuxt/devtools":"^3.0.0","@nuxt/test-utils":"^4.0.0","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_1.0.0_1782038138563_0.8877393491387691","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"nuxt-api-shield","version":"1.1.0","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@1.1.0","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"homepage":"https://github.com/rrd108/nuxt-api-shield#readme","bugs":{"url":"https://github.com/rrd108/nuxt-api-shield/issues"},"dist":{"shasum":"da5c1ee5f302532d7f8cf4e767e08667dcd2902f","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-1.1.0.tgz","fileCount":38,"integrity":"sha512-OrBreTKYOnT1NIYrLIxNo3VKbkkB1LQiZ9IW0r2fFBuoP72bXcznQpc+1g+07cRJBNjbrWLJDeHSYiS7IihMDQ==","signatures":[{"sig":"MEQCIEb5FRVNbxW8KgZM1GrXT5iZCByUuthgFG9mVEd6VIqsAiA6uCxSoivcdsotaU7taJ1x6BTR5WhFUxnkT+pEiHIHTQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIFXYnjw/el0L6Q4OWJeqRIUVTFOQzvt+4t4mKW9dVz7CAiAD0EFp8WXHUSpmddDaBfrfk+AhrSM2c+kzLjwR9PVPBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":551719},"main":"./dist/module.mjs","type":"module","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/module.mjs"},"./types":{"types":"./dist/index.d.mts"}},"gitHead":"1f1daa9cfd2b0c4410aea627e23b19e2e17bd6e1","scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"yarn dev:prepare && vitest run --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept && yarn test:types","prepack":"nuxt-module-build build && node scripts/generate-types.js","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","test:types":"vue-tsc --noEmit --project ./test/tsconfig.json --moduleResolution bundler","test:watch":"vitest watch  --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && yarn publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && yarn publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"git+https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"_npmVersion":"11.19.1","description":"Nuxt API Shield - Rate Limiting","directories":{},"resolutions":{"typescript":"~6.0.0"},"_nodeVersion":"24.22.1","dependencies":{"defu":"^6.1.4","@nuxt/kit":"^4.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^4.0.0","eslint":"^10.0.0","vitest":"^4.0.0","vue-tsc":"^3.0.0","typescript":"~6.0.0","@types/node":"^25.5.0","changelogen":"^0.6.0","@nuxt/schema":"^4.0.0","@nuxt/devtools":"^3.0.0","@nuxt/test-utils":"^4.0.0","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_1.1.0_1794034221895_0.4255684571467505","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"nuxt-api-shield","version":"1.1.1","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"license":"MIT","_id":"nuxt-api-shield@1.1.1","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"homepage":"https://github.com/rrd108/nuxt-api-shield#readme","bugs":{"url":"https://github.com/rrd108/nuxt-api-shield/issues"},"dist":{"shasum":"c82016c1c824489d55ca9aabe56a810c7c209088","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-1.1.1.tgz","fileCount":38,"integrity":"sha512-xV7sO1cnLK6wosp5GMXXHwi6Q3sp617mFkHcpKhi9g/YLyaIjWMMgTgFAUDlLIBqw57dlRJ2dm+FrhpTRbq1/Q==","signatures":[{"sig":"MEUCIQC9Atj17W8s0Yx276nbkPjmD/1QwFIlDOe0kmwQoGISnwIgfUdnzBlFo6Qebh/I/E0t32zHboB7UbelPWTeNppgCZw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDOIuBwulmX74ntOM6a9s+21DfTnWSQqEhZ7QviKyCjAwIhAOYSKrLWsqK5Vhn9VXOew71q8bSKGrYKaS1JXCjeoBO6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53386},"main":"./dist/module.mjs","type":"module","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/module.mjs"},"./types":{"types":"./dist/index.d.mts"}},"gitHead":"48fa138b5d27807b16db300c612742875ff4d93d","scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"yarn dev:prepare && vitest run --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept && yarn test:types","prepack":"nuxt-module-build build && node scripts/generate-types.js","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","test:types":"vue-tsc --noEmit --project ./test/tsconfig.json --moduleResolution bundler","test:watch":"vitest watch  --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:minor":"yarn lint && yarn test && yarn prepack && changelogen --release --minor && npm publish && git push --follow-tags","release:patch":"yarn lint && yarn test && yarn prepack && changelogen --release --patch && npm publish && git push --follow-tags"},"_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"repository":{"url":"git+https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"_npmVersion":"11.19.1","description":"Nuxt API Shield - Rate Limiting","directories":{},"resolutions":{"typescript":"~6.0.0"},"_nodeVersion":"24.22.1","dependencies":{"defu":"^6.1.4","@nuxt/kit":"^4.0.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^3.25.1","nuxt":"^4.0.0","eslint":"^10.0.0","vitest":"^4.0.0","vue-tsc":"^3.0.0","typescript":"~6.0.0","@types/node":"^25.5.0","changelogen":"^0.6.0","@nuxt/schema":"^4.0.0","@nuxt/devtools":"^3.0.0","@nuxt/test-utils":"^4.0.0","@nuxt/eslint-config":"^1.0.0","@nuxt/module-builder":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nuxt-api-shield_1.1.1_1794035027224_0.036767795525483815","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"_id":"nuxt-api-shield@2.0.0","bugs":{"url":"https://github.com/rrd108/nuxt-api-shield/issues"},"dist":{"shasum":"fecc53cf9c642d666297a9e8d97f8755a7917279","tarball":"https://registry.npmjs.org/nuxt-api-shield/-/nuxt-api-shield-2.0.0.tgz","fileCount":41,"integrity":"sha512-XC7MXIjNYpgthW835/ZaCrMv5SdUjECNr8bdctkOTUal2JS/69fog+J1AIkMRuKsejNBowf05J0/NkZMQphpNw==","signatures":[{"sig":"MEYCIQDHCUHY9mCpiewJyPjWPjADm+6Y9Fw7lF5Ml9ewD4bCmQIhANXhy9bOfBTC2g78QiafVYq4pQss65HpigiHETpbv6Q+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEgGYQggsPr5vJtoXL3HBhEMBHXSgrDUCYLE4bBphxzIAiARHxPrECz9cN3D7ghoAWJgkNmlG6mBSeXdWwfNPrcylA=="}],"unpackedSize":55883},"main":"./dist/module.mjs","name":"nuxt-api-shield","type":"module","engines":{"node":"^22.12.0 || >=24.0.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/module.mjs"},"./types":{"types":"./dist/index.d.mts"},"./config":{"types":"./dist/config.d.mts","import":"./dist/config.mjs"}},"gitHead":"ea87851c51de473204d424f4896d250111541440","license":"MIT","scripts":{"dev":"nuxi dev playground","lint":"eslint .","test":"yarn dev:prepare && vitest run --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept && yarn test:types","prepack":"nuxt-module-build build && node scripts/generate-types.js","release":"node scripts/release.mjs","lint:fix":"eslint . --fix","dev:build":"nuxi build playground","test:types":"vue-tsc --noEmit --project ./test/tsconfig.json --moduleResolution bundler","test:watch":"vitest watch  --testTimeout 15000 --reporter=default --reporter.summary=false --disable-console-intercept","dev:prepare":"nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground","release:dry":"node scripts/release.mjs --dry-run"},"version":"2.0.0","_npmUser":{"name":"rrd","email":"rrd@1108.cc"},"homepage":"https://github.com/rrd108/nuxt-api-shield#readme","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"repository":{"url":"git+https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"_npmVersion":"11.19.1","description":"Nuxt API Shield - Rate Limiting","directories":{},"maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"resolutions":{"typescript":"~6.0.3"},"_nodeVersion":"24.22.1","dependencies":{"c12":"^3.3.4","defu":"^6.1.4","@nuxt/kit":"^4.7.0"},"_hasShrinkwrap":false,"packageManager":"yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e","devDependencies":{"nuxi":"^4.1.0","nuxt":"^4.7.0","eslint":"^10.15.0","vitest":"^5.1.1","vue-tsc":"^3.3.14","typescript":"~6.0.3","@types/node":"^22.20.5","changelogen":"^0.6.2","@nuxt/schema":"^4.7.0","@nuxt/devtools":"^4.2.0","@nuxt/test-utils":"^4.4.0","@nuxt/eslint-config":"^1.17.0","@nuxt/module-builder":"^1.0.4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nuxt-api-shield_2.0.0_1795504095165_0.5421177353473035"}}},"time":{"created":"2024-03-29T16:59:02.236Z","modified":"2026-11-24T07:08:15.469Z","0.1.0":"2024-03-29T16:59:02.463Z","0.2.0":"2024-03-30T11:05:53.661Z","0.3.0":"2024-03-30T15:52:41.940Z","0.4.0":"2024-04-16T08:04:58.481Z","0.4.1":"2024-05-11T13:27:53.311Z","0.5.0":"2024-05-11T14:45:21.664Z","0.6.0":"2024-06-26T16:33:59.280Z","0.6.3":"2024-06-26T17:00:32.229Z","0.6.5":"2024-06-26T17:02:28.908Z","0.6.6":"2024-06-26T17:07:23.549Z","0.6.7":"2024-07-04T09:29:59.126Z","0.6.8":"2024-09-04T11:48:59.614Z","0.6.9":"2024-09-04T11:53:19.357Z","0.7.0":"2024-09-12T11:47:26.514Z","0.8.0":"2024-09-21T11:29:30.273Z","0.8.1":"2025-07-06T18:25:52.531Z","0.8.2":"2025-07-07T12:35:01.914Z","0.8.3":"2025-08-28T11:23:50.955Z","0.8.4":"2025-10-07T11:23:16.347Z","0.9.0":"2025-11-14T09:11:32.526Z","0.9.1":"2025-12-05T15:31:00.338Z","0.9.3":"2025-12-05T16:19:25.794Z","0.10.0":"2025-12-05T16:29:05.105Z","0.10.1":"2026-03-28T09:29:59.037Z","0.10.2":"2026-03-30T16:06:47.124Z","1.0.0":"2026-06-21T10:35:38.727Z","1.1.0":"2026-11-07T06:50:22.015Z","1.1.1":"2026-11-07T07:03:47.331Z","2.0.0":"2026-11-24T07:08:15.275Z"},"bugs":{"url":"https://github.com/rrd108/nuxt-api-shield/issues"},"license":"MIT","homepage":"https://github.com/rrd108/nuxt-api-shield#readme","keywords":["nuxt","nuxt-module","security","rate-limit","bruteforce"],"repository":{"url":"git+https://github.com/rrd108/nuxt-api-shield.git","type":"git"},"description":"Nuxt API Shield - Rate Limiting","maintainers":[{"name":"rrd","email":"rrd@1108.cc"}],"readme":"# Nuxt API Shield\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![License][license-src]][license-href]\n[![Nuxt][nuxt-src]][nuxt-href]\n\nRate limiting and IP banning for the `/api/` routes of your Nuxt app.\n\nWhen one IP address sends too many requests to an API route, Nuxt API Shield bans that IP for a while and answers its requests with `429 Too Many Requests`. It stores its counters in any [unstorage](https://unstorage.unjs.io) driver (memory, filesystem, Redis ...), can write ban events for [fail2ban](#fail2ban), and ships cleanup tasks so the storage does not grow forever.\n\n- [Release notes](/CHANGELOG.md)\n- Coming from v1? See [Upgrading from v1](#upgrading-from-v1).\n\n## Contents\n\n- [Quick start](#quick-start)\n- [How it works](#how-it-works)\n- [Configuration](#configuration)\n  - [Where to put the options](#where-to-put-the-options)\n  - [All options](#all-options)\n- [Choosing which routes are protected](#choosing-which-routes-are-protected)\n- [Storage](#storage)\n- [Cleanup tasks](#cleanup-tasks)\n- [Behind a proxy or CDN](#behind-a-proxy-or-cdn)\n- [Logging and fail2ban](#logging-and-fail2ban)\n- [TypeScript](#typescript)\n- [Upgrading from v1](#upgrading-from-v1)\n- [Security and privacy notes](#security-and-privacy-notes)\n- [Development](#development)\n\n## Quick start\n\n**1. Install**\n\n```bash\nnpm install nuxt-api-shield   # or: yarn add / pnpm add nuxt-api-shield\n```\n\n**2. Configure** `nuxt.config.ts`\n\n```ts\nexport default defineNuxtConfig({\n  modules: ['nuxt-api-shield'],\n\n  nuxtApiShield: {\n    limit: {\n      max: 12,       // requests allowed ...\n      duration: 108, // ... per this many seconds\n      ban: 3600,     // seconds an IP is banned after going over the limit\n    },\n  },\n\n  nitro: {\n    // Where the counters and bans are kept. The name must be \"shield\".\n    storage: {\n      shield: { driver: 'fs', base: '.shield' },\n    },\n    // Remove expired bans and old counters on a schedule\n    experimental: { tasks: true },\n    scheduledTasks: {\n      '*/15 * * * *': ['shield:cleanBans'],\n      '0 0 * * *': ['shield:cleanIpData'],\n    },\n  },\n})\n```\n\nThat's it: every route under `/api/` is now protected with 12 requests per 108 seconds per IP. Every option is optional, so `nuxtApiShield` only needs the values you want to change from the [defaults](#all-options).\n\n**3. Check it**\n\n```bash\nfor i in $(seq 1 14); do curl -s -o /dev/null -w \"%{http_code}\\n\" http://localhost:3000/api/hello; done\n```\n\nThe first 12 requests get `200`, the 13th and every request after it get `429` until the ban ends.\n\n> Running more than one server instance? Use [Redis](#storage) instead of `fs`. Behind nginx, Cloudflare or a load balancer? Read [Behind a proxy or CDN](#behind-a-proxy-or-cdn), otherwise every visitor looks like the same IP.\n\n## How it works\n\nFor every request the shield goes through these steps:\n\n1. **Only `/api/` paths.** Pages, assets and anything outside `/api/` are never touched.\n2. **Skip routes.** If the path matches `skipRoutes`, the request goes through untouched.\n3. **Route rules.** The path is matched against `routes`. With no `routes` configured, every `/api/` path is protected with the global `limit`. With `routes` configured, paths that match none of them are not protected.\n4. **Ban check.** If the IP is banned, the request gets `429` straight away.\n5. **Counting.** The request is counted in the IP's window for that route. The window starts at the IP's first request and lasts `duration` seconds. Request number `max + 1` inside the window gets `429` and starts a ban of `ban` seconds.\n\nTwo things to keep in mind:\n\n- **Counters are per IP and per route.** `/api/login` and `/api/products` each have their own counter. Paths that match the same [wildcard rule](#wildcard-rules) share one counter.\n- **A ban is per IP, for every protected route.** An IP banned on `/api/login` is also refused on `/api/products` until the ban ends. Routes in `skipRoutes` and routes outside your `routes` list stay reachable.\n\n### What the client sees\n\nEvery protected response carries these headers:\n\n| Header | Meaning |\n|---|---|\n| `X-RateLimit-Limit` | `max` for this route |\n| `X-RateLimit-Remaining` | requests left in the current window |\n| `X-RateLimit-Reset` | Unix time (seconds) when the window or the ban ends |\n| `Retry-After` | seconds until the ban ends, only on `429` and only with `retryAfterHeader: true` |\n\nA rejected request gets status `429` and a JSON body:\n\n```json\n{ \"error\": \"Too Many Requests\", \"retryAfter\": 3600 }\n```\n\n`error` is your `errorMessage`, `retryAfter` is the number of seconds until the ban ends. With `delayOnBan: true` (the default) the `429` is sent after an extra second, to slow down scripts.\n\n## Configuration\n\n### Where to put the options\n\nYou can set the options in three places. Use one of them.\n\n**In `nuxt.config.ts`** under the `nuxtApiShield` key, as in the [quick start](#quick-start).\n\n**In a separate file**, `.config/nuxt-api-shield.ts` (following the [`.config` directory convention](https://github.com/pi0/config-dir)). `nuxt-api-shield.config.ts` at the project root works too, as do `.js`, `.mjs` and `.json`. `nuxt dev` restarts when the file changes.\n\n```ts\n// .config/nuxt-api-shield.ts\nimport { defineShieldConfig } from 'nuxt-api-shield/config'\n\nexport default defineShieldConfig({\n  limit: { max: 10, duration: 60, ban: 600 },\n  routes: ['/api/login'],\n})\n```\n\n**In `runtimeConfig.nuxtApiShield`** in `nuxt.config.ts`. This is mainly useful because Nuxt lets you override runtime config with environment variables when the app starts, for example:\n\n```bash\nNUXT_NUXT_API_SHIELD_LIMIT_MAX=20\nNUXT_NUXT_API_SHIELD_STORAGE_KEY_PREFIX=staging:\n```\n\n> Per-route limits in `routes` are worked out at build time, so an environment variable for `limit` changes the global limit but not routes that were already given their limit from it.\n\nIf an option is set in more than one place, the higher one in this list wins:\n\n1. `runtimeConfig.nuxtApiShield`\n2. the `nuxtApiShield` key\n3. the config file\n4. the defaults\n\nObjects (`limit`, `log`, `security`) are merged key by key. Arrays (`routes`, `skipRoutes`) are not merged: the highest place that sets one wins whole. If you set options both under `nuxtApiShield` and in the config file you get a warning at build time.\n\nThe final options live in the server-only runtime config (`useRuntimeConfig().nuxtApiShield`) and are never sent to the browser.\n\n### All options\n\n| Option | Default | What it does |\n|---|---|---|\n| `limit.max` | `12` | Requests an IP may send to one route within `duration`. |\n| `limit.duration` | `108` | Length of the counting window, in seconds. |\n| `limit.ban` | `3600` | How long an IP is banned after going over `max`, in seconds. |\n| `routes` | `[]` | Which `/api/` routes to protect, optionally with their own limits. Empty means all of them. See [Choosing which routes are protected](#choosing-which-routes-are-protected). |\n| `skipRoutes` | `[]` | `/api/` paths the shield ignores completely. Supports `*` and `**`. |\n| `delayOnBan` | `true` | Wait one second before sending a `429`. |\n| `errorMessage` | `\"Too Many Requests\"` | The `error` field of the `429` body. |\n| `retryAfterHeader` | `false` | Add a `Retry-After` header to `429` responses. |\n| `ipTTL` | `604800` (7 days) | The `shield:cleanIpData` task deletes counters older than this many seconds. `0` turns that cleanup off. |\n| `storageKeyPrefix` | `\"\"` | Put in front of every storage key, to keep several apps apart in one Redis. See [Sharing one storage between apps](#sharing-one-storage-between-apps). |\n| `security.trustXForwardedFor` | `false` | Read the client IP from the `X-Forwarded-For` header. Only turn on behind a proxy, see [Behind a proxy or CDN](#behind-a-proxy-or-cdn). |\n| `security.trustedProxyHops` | `1` | How many of your own proxies add to `X-Forwarded-For`. |\n| `log.path` | `\"\"` | Folder for log files. Empty turns logging off. |\n| `log.attempts` | `0` | Log every request from an IP once its count in the window reaches this number. `0` turns it off. |\n| `log.fail2ban` | `false` | Write a fail2ban-friendly line for every ban event. Needs `log.path`. |\n\n## Choosing which routes are protected\n\nWithout `routes`, every `/api/` route gets the global `limit`. That is a good start for most apps. Use `routes` when you want to protect only some routes, or give some of them a stricter limit.\n\n> As soon as `routes` has an entry, **only** the routes it matches are protected. To protect everything and make a few routes stricter, add a catch-all rule such as `'/api'`.\n\n### Route rules\n\nEach entry in `routes` is a string or an object:\n\n```ts\nnuxtApiShield: {\n  limit: { max: 60, duration: 60, ban: 600 },\n\n  routes: [\n    // A string: this path and everything below it, with the global limit\n    '/api',\n\n    // An object: its own limit (any of max, duration, ban; the rest come from `limit`)\n    { path: '/api/login', max: 5, duration: 60, ban: 3600 },\n\n    // A wildcard rule\n    { path: '/api/users/*/avatar', pattern: true, max: 10, duration: 60 },\n  ],\n}\n```\n\nHere `/api/login` allows 5 tries a minute, avatar uploads 10 a minute for all users together, and every other `/api/` route 60 a minute.\n\nA plain `path` (no `pattern: true`) matches that path and everything below it on a `/` boundary: `'/api/v2'` matches `/api/v2` and `/api/v2/users`, but not `/api/v20`. A trailing slash is ignored, so `'/api/v2/'` is the same rule as `'/api/v2'`.\n\n### Wildcard rules\n\nAdd `pattern: true` to use wildcards:\n\n- `*` matches exactly one path segment: `/api/users/*/profile` matches `/api/users/42/profile`.\n- `**` matches any number of segments, including none: `/api/reports/**/summary` matches `/api/reports/summary` and `/api/reports/2026/03/summary`.\n\nAll paths that match one wildcard rule **share one counter** per IP. Patterns that are too broad, such as `/**`, `/*` or `/api*`, stop the build with an error naming the rule, so a route never ends up unprotected by accident.\n\n### When several rules match\n\n1. A rule whose path is exactly the request path wins.\n2. Otherwise the most specific matching wildcard rule wins (fewer wildcards, and `*` before `**`).\n3. Otherwise the longest matching plain path wins, so `/api/login` beats `/api`.\n\n### Skipping routes\n\n`skipRoutes` lists `/api/` paths the shield ignores completely: no counting, no ban check, no logging. Use it for health checks, webhooks and monitoring probes. It accepts exact paths and the same `*` / `**` wildcards (no `pattern: true` needed).\n\n```ts\nnuxtApiShield: {\n  skipRoutes: [\n    '/api/health',\n    '/api/webhooks/stripe',\n    '/api/_internal/**',\n  ],\n}\n```\n\n`skipRoutes` is checked first, so a skipped path stays reachable even for a banned IP.\n\n## Storage\n\nThe shield keeps its data in the Nitro storage named **`shield`**. If you don't configure it, the module warns at build time and uses memory, so all counters and bans are lost on every restart.\n\n```ts\nnitro: {\n  storage: {\n    shield: { driver: 'fs', base: '.shield' },                      // one server\n    // shield: { driver: 'redis', host: 'localhost', port: 6379 },  // production\n  },\n},\n```\n\nAny [unstorage driver](https://unstorage.unjs.io/drivers) works. Which one to pick:\n\n| | `memory` / `fs` | Redis |\n|---|---|---|\n| Several server instances | Each instance counts on its own, so the real limit is `max` × instances. | One shared count. |\n| Many requests at once | Two requests can read the same count at the same moment and both get through. | Fine for most traffic. Not strictly atomic either, since the shield reads, then writes. |\n| Cleanup | The cleanup tasks list every key, which gets slow with a lot of data. | Same tasks, but Redis handles large key sets much better. |\n\n`memory` and `fs` are fine for development and a single, low-traffic server. For anything else use Redis ([driver options](https://unstorage.unjs.io/drivers/redis)).\n\n### What is stored\n\n| Key | Value |\n|---|---|\n| `ip:<path>:<ip>` | `{ count, time }`: requests in the current window and when the window started |\n| `ban:<ip>` | the time the ban ends, in milliseconds |\n\nStorage drivers turn `/` in keys into `:`, so the counter for `/api/login` shows up as `ip:api:login:<ip>`. The `:` in IPv6 addresses is stored as `_`.\n\n### Sharing one storage between apps\n\nTwo apps (or staging and production) that use the same Redis share counters and bans unless you give each its own `storageKeyPrefix`:\n\n```ts\nnuxtApiShield: {\n  storageKeyPrefix: 'myapp:', // keys become myapp:ip:... and myapp:ban:...\n}\n```\n\nEnd the prefix with a colon: it is added as is, so `'myapp'` gives `myappip:...`. To use a different prefix per environment, set `NUXT_NUXT_API_SHIELD_STORAGE_KEY_PREFIX`.\n\nThe cleanup tasks only touch keys under the app's own prefix. If you change the prefix of a running app, delete the keys under the old prefix by hand.\n\n## Cleanup tasks\n\nExpired bans and old counters stay in storage until something deletes them. The module comes with two [Nitro tasks](https://nitro.build/guide/tasks) for that:\n\n- `shield:cleanBans` deletes bans that have ended.\n- `shield:cleanIpData` deletes counters older than `ipTTL` seconds (7 days by default), and any broken entries.\n\nTurn on Nitro tasks and schedule them:\n\n```ts\nnitro: {\n  experimental: { tasks: true },\n  scheduledTasks: {\n    '*/15 * * * *': ['shield:cleanBans'], // every 15 minutes\n    '0 0 * * *': ['shield:cleanIpData'],  // every day at midnight\n  },\n},\n```\n\nThe cron times are only examples. You don't need any files in `server/tasks/` for this.\n\n**Your own cleanup logic.** To add logging, metrics or a different storage layout, write your own task under a **different name** and schedule that one instead. The bundled tasks in [`src/runtime/server/tasks/shield/`](src/runtime/server/tasks/shield/) are short and make a good starting point; `isActualBanTimestampExpired` is auto-imported on the server for checking ban values. A project task with the same name as a bundled one may replace it, so avoid `shield:cleanBans` and `shield:cleanIpData` unless that is what you want.\n\n## Behind a proxy or CDN\n\nBy default the shield uses the IP address of the connection. Behind nginx, Cloudflare, a load balancer or most hosting platforms, that is the proxy's address, so **all visitors share one counter** and one busy visitor can get everyone banned.\n\nThe real client IP is then in the `X-Forwarded-For` header. Tell the shield to read it:\n\n```ts\nnuxtApiShield: {\n  security: {\n    trustXForwardedFor: true,\n    trustedProxyHops: 1, // number of your own proxies in front of the app\n  },\n}\n```\n\nEach proxy adds the address it received the request from to the end of `X-Forwarded-For`. Anything at the start of the header may have been sent by the client and can be faked, so the shield counts `trustedProxyHops` entries from the **right**:\n\n- One proxy (nginx with `$proxy_add_x_forwarded_for`, an AWS ALB ...): `trustedProxyHops: 1`.\n- Two proxies (a CDN in front of nginx): `trustedProxyHops: 2`.\n\nIf the chosen entry is not a valid IP address, the shield falls back to the connection's IP.\n\n> **Only turn on `trustXForwardedFor` behind a proxy you control.** If the app can be reached directly, anyone can send a made-up `X-Forwarded-For` header and get a fresh counter for every request, or get someone else banned.\n\n## Logging and fail2ban\n\nLogging is off by default. Set `log.path` to a folder to turn it on. The shield writes one file per day there (`shield-YYYYMMDD.log`), every 5 seconds.\n\nTwo kinds of lines can be written:\n\n- **Busy IPs**, with `log.attempts`: every request from an IP once its count in the window reaches that number.\n\n  ```\n  192.168.1.100 - (8) - 2026-06-21T12:34:56.789Z - http://example.com/api/login\n  ```\n\n- **Ban events**, with `log.fail2ban: true`: one line each time a request is refused because of a ban.\n\n  ```\n  2026-06-21 12:34:56,789 nuxt-api-shield ban 192.168.1.100 — http://example.com/api/login exceeded limit (12 requests in 108s)\n  ```\n\n### fail2ban\n\n[fail2ban](https://github.com/fail2ban/fail2ban) can read the ban lines and block the IP in the firewall, so the requests never reach Node.\n\n**1.** Turn on the ban lines:\n\n```ts\nnuxtApiShield: {\n  log: {\n    path: '/var/log/nuxt-api-shield',\n    fail2ban: true,\n  },\n}\n```\n\n**2.** Create `/etc/fail2ban/filter.d/nuxt-api-shield.conf`:\n\n```ini\n[Definition]\nfailregex = ^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2},\\d{3} nuxt-api-shield ban <HOST>\n```\n\n**3.** Add a jail to `/etc/fail2ban/jail.local`:\n\n```ini\n[nuxt-api-shield]\nenabled   = true\nfilter    = nuxt-api-shield\nlogpath   = /var/log/nuxt-api-shield/shield-*.log\nport      = http,https\nbanaction = iptables-multiport\nmaxretry  = 1\nfindtime  = 1\nbantime   = 3600\n```\n\nThe shield has already decided to ban, so `maxretry = 1` makes fail2ban act on the first line. Set `bantime` to at least your `limit.ban`.\n\n**4.** Restart fail2ban:\n\n```bash\nsudo systemctl restart fail2ban\n```\n\nThe fail2ban service must be able to read the log folder.\n\n## TypeScript\n\n```ts\nimport type { ModuleOptions, RateLimit, ResolvedShieldConfig } from 'nuxt-api-shield'\n```\n\n- `ModuleOptions`: the options as you write them, all optional.\n- `ResolvedShieldConfig`: the final options with every default filled in. This is what `useRuntimeConfig().nuxtApiShield` holds on the server.\n- `RateLimit`: a stored counter, `{ count: number, time: number }`.\n\nFor example, to read the counter of one IP in a server route or task:\n\n```ts\nimport type { RateLimit } from 'nuxt-api-shield'\n\nconst entry = await useStorage('shield').getItem<RateLimit>('ip:api:login:192.168.1.1')\nif (entry) {\n  console.log(`${entry.count} requests since ${new Date(entry.time).toISOString()}`)\n}\n```\n\n## Upgrading from v1\n\nGo through these steps in order. Steps 1 to 4 apply to everyone coming from v1.0; if you are already on v1.1 most of them are done. The [changelog](/CHANGELOG.md) has the background for each change.\n\n**1. Use Node 22.12 or later** (or Node 24). Older Node versions are no longer supported.\n\n**2. Move the options out of the public runtime config.** v2 stops the build if `runtimeConfig.public.nuxtApiShield` is set, because Nuxt sends the public runtime config to every browser.\n\n```ts\n// Before\nruntimeConfig: {\n  public: {\n    nuxtApiShield: { limit: { max: 10 } },\n  },\n},\n\n// After: use the nuxtApiShield key (or runtimeConfig.nuxtApiShield, or the config file)\nnuxtApiShield: { limit: { max: 10 } },\n```\n\n**3. Rename your environment variables** from `NUXT_PUBLIC_NUXT_API_SHIELD_*` to `NUXT_NUXT_API_SHIELD_*`, for example `NUXT_PUBLIC_NUXT_API_SHIELD_LIMIT_MAX` becomes `NUXT_NUXT_API_SHIELD_LIMIT_MAX`. The old names are ignored now.\n\n**4. Update your own cleanup tasks**, if you have any in `server/tasks/`. Read the options from the private runtime config:\n\n```ts\n// Before\nconst config = useRuntimeConfig().public.nuxtApiShield\n// After\nconst config = useRuntimeConfig().nuxtApiShield\n```\n\nIf you only scheduled `shield:cleanBans` and `shield:cleanIpData` without your own task files, there is nothing to do.\n\n**5. Check `trustedProxyHops` if you use `trustXForwardedFor`.** The client IP is now read from the right end of `X-Forwarded-For` instead of the left, because the left end can be faked by the client. With one proxy in front of the app the default `1` is right. With two (for example a CDN in front of nginx) set `security.trustedProxyHops: 2`. See [Behind a proxy or CDN](#behind-a-proxy-or-cdn).\n\n**6. Keep `routes` and `skipRoutes` in one place.** v1 joined these lists when you set them both in `runtimeConfig.nuxtApiShield` and under `nuxtApiShield`. v2 uses only the `runtimeConfig` one. If you had them in both, merge them into one list.\n\n**7. Fix any wildcard route the build complains about.** A `pattern: true` route that is too broad (such as `/**` or `/api*`) used to be skipped silently, leaving that route unprotected. Now the build stops with an error naming the route. Make the pattern more specific, see [Wildcard rules](#wildcard-rules).\n\n**8. Look at routes written with a trailing slash.** In v1, `routes: ['/api/v2/']` or `skipRoutes: ['/api/health/']` matched nothing. In v2 they work like `'/api/v2'` and `'/api/health'`, so routes you thought were protected (or skipped) now really are. Check that this is what you want.\n\n**9. Optional: move the options to `.config/nuxt-api-shield.ts`**, typed with `defineShieldConfig`. See [Where to put the options](#where-to-put-the-options). Don't keep them both there and under `nuxtApiShield`.\n\n**TypeScript:** every field of `ModuleOptions` is optional now. If you read `useRuntimeConfig().nuxtApiShield` in your own code, type it as `ResolvedShieldConfig`, which has every default filled in.\n\n## Security and privacy notes\n\n- **IP addresses are personal data** under laws like the GDPR. The shield stores them (see [What is stored](#what-is-stored)), so mention it in your privacy policy. Schedule the [cleanup tasks](#cleanup-tasks) so they are not kept longer than needed; `ipTTL` sets how long counters are kept.\n- **Protect the storage.** With the `fs` driver, keep the storage folder and the log folder out of anything your web server serves, and give them strict file permissions. With Redis, use authentication and keep it off the public network.\n- **`errorMessage` is sent as is.** Use plain text. If you put HTML in it, your client must escape it before showing it.\n\n## Development\n\n```bash\nyarn              # install dependencies\nyarn dev:prepare  # generate type stubs\nyarn dev          # run the playground\nyarn dev:build    # build the playground\nyarn lint         # ESLint\nyarn test         # Vitest and type checks\nyarn test:watch\n```\n\nReleases: `yarn release:patch`, `yarn release:minor` or `yarn release:major`.\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/nuxt-api-shield/latest.svg?style=flat&colorA=020420&colorB=00DC82\n[npm-version-href]: https://npmjs.com/package/nuxt-api-shield\n[npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-api-shield.svg?style=flat&colorA=020420&colorB=00DC82\n[npm-downloads-href]: https://npmjs.com/package/nuxt-api-shield\n[license-src]: https://img.shields.io/npm/l/nuxt-api-shield.svg?style=flat&colorA=020420&colorB=00DC82\n[license-href]: https://npmjs.com/package/nuxt-api-shield\n[nuxt-src]: https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js\n[nuxt-href]: https://nuxt.com\n","readmeFilename":"README.md"}