{"_id":"@anthro.id/express-cache-control","_rev":"10-1818cdbdb161752ad4dd610a7b236565","name":"@anthro.id/express-cache-control","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.2":{"name":"@anthro.id/express-cache-control","version":"1.0.2","keywords":["express","max-age","maxage","cache","cache-control","no-cache"],"author":{"url":"https://anthro.id","name":"Anthro Indonesia - Open Source Section"},"license":"MIT","_id":"@anthro.id/express-cache-control@1.0.2","maintainers":[{"name":"anthro.id","email":"main@app.mail.anthro.id"}],"homepage":"https://github.com/anthro-id/express-cache-control","bugs":{"url":"https://github.com/anthro-id/express-cache-control/issues"},"dist":{"shasum":"abada4d2283380438206ecef73e5c15b6a89d1cd","tarball":"https://registry.npmjs.org/@anthro.id/express-cache-control/-/express-cache-control-1.0.2.tgz","fileCount":6,"integrity":"sha512-nYB/E+zrK3M/45frh9L6T6BEnIHUJ1n1ot+1txudty7NnKtunHr/TVabKpChbN15rGEx8zm2Jb+T1v7fKkWFSw==","signatures":[{"sig":"MEQCICzsEPVJbvhf2l/x3vqkRecrcK0CrXnPUXv8zyNS2kN+AiBT3RHs6md2uAjEKga1vwIGsM6AsPpoLQwovF8LSwQMrg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6645},"main":"./dist/index.js","_from":"file:anthro.id-express-cache-control-1.0.2.tgz","types":"./dist/index.d.ts","exports":{"types":["./index.d.ts","./dist/index.d.ts"],"import":"./dist/index.js","require":"./dist/index.js"},"scripts":{"build":"rimraf dist && tsc && tsc-alias"},"_npmUser":{"name":"anthro.id","email":"main@app.mail.anthro.id"},"_resolved":"C:\\Users\\ray\\AppData\\Local\\Temp\\bfa5a972eab2effdc4aa0ebe8e4a9fd6\\anthro.id-express-cache-control-1.0.2.tgz","_integrity":"sha512-nYB/E+zrK3M/45frh9L6T6BEnIHUJ1n1ot+1txudty7NnKtunHr/TVabKpChbN15rGEx8zm2Jb+T1v7fKkWFSw==","repository":{"url":"git+https://github.com/anthro-id/express-cache-control.git","type":"git"},"_npmVersion":"9.6.2","description":"Apply a cache control header through Express middleware.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"on-headers":"^1.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","express":"^5.1.0","tsc-alias":"^1.8.16","typescript":"^5.8.3","@types/express":"^5.0.2","@types/on-headers":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/express-cache-control_1.0.2_1747619396270_0.45116620787518125","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@anthro.id/express-cache-control","version":"1.0.3","keywords":["express","max-age","maxage","cache","cache-control","no-cache"],"author":{"url":"https://anthro.id","name":"Anthro Indonesia - Open Source Section"},"license":"MIT","_id":"@anthro.id/express-cache-control@1.0.3","maintainers":[{"name":"anthro.id","email":"main@app.mail.anthro.id"}],"homepage":"https://github.com/anthro-id/express-cache-control","bugs":{"url":"https://github.com/anthro-id/express-cache-control/issues"},"dist":{"shasum":"bde112381c7890ea6e78089a181829c1190eddaa","tarball":"https://registry.npmjs.org/@anthro.id/express-cache-control/-/express-cache-control-1.0.3.tgz","fileCount":6,"integrity":"sha512-GrAes1yfeHOy70j8mWXEi9Qkwpfu5/Cl/pFNohp4NGVhKeV10lj5PjF2q0pjKTy4L8Z6pUQC9ZNkOJwVEgTc7Q==","signatures":[{"sig":"MEQCIDyuTvvKN4zNANxazou9AzqQfTFywqPXfs6g6J1YBGxuAiAw6TQWc84z6z9KkfDxFf8qBYwqPpPlReqCpLYOt3Zciw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6794},"main":"./dist/index.js","_from":"file:anthro.id-express-cache-control-1.0.3.tgz","types":"./dist/index.d.ts","exports":{"types":["./index.d.ts","./dist/index.d.ts"],"import":"./dist/index.js","require":"./dist/index.js"},"scripts":{"build":"rimraf dist && tsc && tsc-alias"},"_npmUser":{"name":"anthro.id","email":"main@app.mail.anthro.id"},"_resolved":"C:\\Users\\ray\\AppData\\Local\\Temp\\c104b4f67b830c6ed5d204622f11a6aa\\anthro.id-express-cache-control-1.0.3.tgz","_integrity":"sha512-GrAes1yfeHOy70j8mWXEi9Qkwpfu5/Cl/pFNohp4NGVhKeV10lj5PjF2q0pjKTy4L8Z6pUQC9ZNkOJwVEgTc7Q==","repository":{"url":"git+https://github.com/anthro-id/express-cache-control.git","type":"git"},"_npmVersion":"9.6.2","description":"Apply a cache control header through Express middleware.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"on-headers":"^1.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","express":"^5.1.0","tsc-alias":"^1.8.16","typescript":"^5.8.3","@types/express":"^5.0.2","@types/on-headers":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/express-cache-control_1.0.3_1747809000361_0.4201333416049198","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@anthro.id/express-cache-control","version":"1.0.4","keywords":["express","max-age","maxage","cache","cache-control","no-cache"],"author":{"url":"https://anthro.id","name":"Anthro Indonesia - Open Source Section"},"license":"MIT","_id":"@anthro.id/express-cache-control@1.0.4","maintainers":[{"name":"ray_1337","email":"hizkiaofficial40@gmail.com"},{"name":"anthro.id","email":"main@app.mail.anthro.id"}],"homepage":"https://github.com/anthro-id/express-cache-control","bugs":{"url":"https://github.com/anthro-id/express-cache-control/issues"},"dist":{"shasum":"5e49425dbd6059f1e2052f39b4a46068ffb855e0","tarball":"https://registry.npmjs.org/@anthro.id/express-cache-control/-/express-cache-control-1.0.4.tgz","fileCount":6,"integrity":"sha512-tmV+z0og0Ng4H3C3PrdTYPYh6+xFglSGTg87qNrpF2xPgZJCliQWBflE+MoE4r9zU9mOklDOkqsFk7JVVPowEw==","signatures":[{"sig":"MEQCIBUlTPnAZ0JqWZ3IjkplPl2R1VFKzBNltC+fk48Av6vrAiBwT2qmd4Qg/0NDbn2OKKbKiSedCPjFUqZrZDACqrSLsw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6963},"main":"./dist/index.js","_from":"file:anthro.id-express-cache-control-1.0.4.tgz","types":"./dist/index.d.ts","exports":{"types":["./index.d.ts","./dist/index.d.ts"],"import":"./dist/index.js","require":"./dist/index.js"},"scripts":{"build":"rimraf dist && tsc && tsc-alias"},"_npmUser":{"name":"anthro.id","email":"main@app.mail.anthro.id"},"_resolved":"C:\\Users\\ray\\AppData\\Local\\Temp\\e47b286e24cf917754711078b1f6658b\\anthro.id-express-cache-control-1.0.4.tgz","_integrity":"sha512-tmV+z0og0Ng4H3C3PrdTYPYh6+xFglSGTg87qNrpF2xPgZJCliQWBflE+MoE4r9zU9mOklDOkqsFk7JVVPowEw==","repository":{"url":"git+https://github.com/anthro-id/express-cache-control.git","type":"git"},"_npmVersion":"9.6.2","description":"Apply a cache control header through Express middleware.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"on-headers":"^1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","express":"^5.1.0","tsc-alias":"^1.8.16","typescript":"^5.8.3","@types/express":"^5.0.3","@types/on-headers":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/express-cache-control_1.0.4_1758939184516_0.062136348499177485","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@anthro.id/express-cache-control","version":"1.0.5","keywords":["express","max-age","maxage","cache","cache-control","no-cache"],"author":{"url":"https://anthro.id","name":"Anthro Indonesia - Open Source Section"},"license":"MIT","_id":"@anthro.id/express-cache-control@1.0.5","maintainers":[{"name":"ray_1337","email":"hizkiaofficial40@gmail.com"},{"name":"anthro.id","email":"main@app.mail.anthro.id"}],"homepage":"https://github.com/anthro-id/express-cache-control","bugs":{"url":"https://github.com/anthro-id/express-cache-control/issues"},"dist":{"shasum":"2ecf4ece36928c23a0dbc8fa0165ee40881df2e5","tarball":"https://registry.npmjs.org/@anthro.id/express-cache-control/-/express-cache-control-1.0.5.tgz","fileCount":6,"integrity":"sha512-6orwnVIFVJUMM9sk0eori9xMUZlCGZeCzTYuAC/pP+OX2Mg9ySCaVUhdO2fu7YQKYCZbK6tgRmc8WhEj7CZDBg==","signatures":[{"sig":"MEUCIHhUqYMrqmF/FxKAAFHU61hy+w2R0lRgnlS9bcnAkE6AAiEA2Q6WGkNfXI+pJSNMTGz4agQCSO19fmvVvUPLbeYz7lk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anthro.id%2fexpress-cache-control@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6922},"main":"./dist/index.js","_from":"file:anthro.id-express-cache-control-1.0.5.tgz","types":"./dist/index.d.ts","exports":{"types":["./index.d.ts","./dist/index.d.ts"],"import":"./dist/index.js","require":"./dist/index.js"},"scripts":{"build":"rimraf dist && tsc && tsc-alias"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b9026283-5574-4f70-b78c-9ec9991d86d6"}},"_resolved":"/tmp/19859996633d3d4c2e5560097a56897b/anthro.id-express-cache-control-1.0.5.tgz","_integrity":"sha512-6orwnVIFVJUMM9sk0eori9xMUZlCGZeCzTYuAC/pP+OX2Mg9ySCaVUhdO2fu7YQKYCZbK6tgRmc8WhEj7CZDBg==","repository":{"url":"git+https://github.com/anthro-id/express-cache-control.git","type":"git"},"_npmVersion":"11.6.4","description":"Apply a cache control header through Express middleware.","directories":{},"sideEffects":false,"_nodeVersion":"24.11.1","dependencies":{"is-number":"^7.0.0","on-headers":"^1.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.1.2","express":"^5.2.1","tsc-alias":"^1.8.16","typescript":"^5.9.3","@types/express":"^5.0.6","@types/is-number":"^7.0.5","@types/on-headers":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/express-cache-control_1.0.5_1764912105625_0.36165862962155226","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@anthro.id/express-cache-control","version":"1.0.6","description":"Apply a cache control header through Express middleware.","homepage":"https://github.com/anthro-id/express-cache-control","license":"MIT","sideEffects":false,"main":"./dist/index.js","publishConfig":{"access":"public"},"exports":{"import":"./dist/index.js","require":"./dist/index.js","types":["./index.d.ts","./dist/index.d.ts"]},"author":{"name":"Anthro Indonesia - Open Source Section","url":"https://anthro.id"},"repository":{"type":"git","url":"git+https://github.com/anthro-id/express-cache-control.git"},"bugs":{"url":"https://github.com/anthro-id/express-cache-control/issues"},"keywords":["express","max-age","maxage","cache","cache-control","no-cache"],"devDependencies":{"@types/express":"^5.0.6","@types/is-number":"^7.0.5","@types/on-headers":"^1.0.4","express":"^5.2.1","rimraf":"^6.1.3","tsc-alias":"^1.8.16","typescript":"^5.9.3"},"dependencies":{"is-number":"^7.0.0","on-headers":"^1.1.0"},"scripts":{"build":"rimraf dist && tsc && tsc-alias"},"types":"./dist/index.d.ts","_id":"@anthro.id/express-cache-control@1.0.6","_integrity":"sha512-fHUykjNm0JkB01Xs1YTIrEVQPAuXa7I4bW6XDIJMJAh16pGj5a5NxSlHsplHNO2U3gB0cyhdPJNP62USCjWbuA==","_resolved":"/tmp/59940f7946d9cd028e25d47707c6dd83/anthro.id-express-cache-control-1.0.6.tgz","_from":"file:anthro.id-express-cache-control-1.0.6.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-fHUykjNm0JkB01Xs1YTIrEVQPAuXa7I4bW6XDIJMJAh16pGj5a5NxSlHsplHNO2U3gB0cyhdPJNP62USCjWbuA==","shasum":"f0e7dd3e8e258f3ee271c3ce8c7aafdf38d05313","tarball":"https://registry.npmjs.org/@anthro.id/express-cache-control/-/express-cache-control-1.0.6.tgz","fileCount":6,"unpackedSize":6922,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@anthro.id%2fexpress-cache-control@1.0.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFkJcHVZK2sd5aP69ErUXsop6qPfC1nIeqkJNFLO4JjAAiBoVEqV7zlFYXWA+WdUW/cFm9SSlhQAK4Prjw4gj9UVzw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b9026283-5574-4f70-b78c-9ec9991d86d6"}},"directories":{},"maintainers":[{"name":"ray_1337","email":"hizkiaofficial40@gmail.com"},{"name":"anthro.id","email":"main@app.mail.anthro.id"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/express-cache-control_1.0.6_1772852137212_0.25848233585149494"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-19T00:25:08.594Z","modified":"2026-03-07T02:55:37.636Z","1.0.0":"2025-05-19T00:25:08.875Z","1.0.1":"2025-05-19T00:42:07.989Z","1.0.2":"2025-05-19T01:49:56.449Z","1.0.3":"2025-05-21T06:30:00.563Z","1.0.4":"2025-09-27T02:13:04.703Z","1.0.5":"2025-12-05T05:21:45.803Z","1.0.6":"2026-03-07T02:55:37.373Z"},"bugs":{"url":"https://github.com/anthro-id/express-cache-control/issues"},"author":{"name":"Anthro Indonesia - Open Source Section","url":"https://anthro.id"},"license":"MIT","homepage":"https://github.com/anthro-id/express-cache-control","keywords":["express","max-age","maxage","cache","cache-control","no-cache"],"repository":{"type":"git","url":"git+https://github.com/anthro-id/express-cache-control.git"},"description":"Apply a cache control header through Express middleware.","maintainers":[{"name":"ray_1337","email":"hizkiaofficial40@gmail.com"},{"name":"anthro.id","email":"main@app.mail.anthro.id"}],"readme":"# express-cache-control\nAn updated version of [Mousius/express-cache-controller](https://github.com/Mousius/express-cache-controller).\n\n# Differences\n- Supports TypeScript types.\n- Supports undocumented options, such as [`immutable`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control#immutable) and [`must-understand`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control#must-understand).\n\n# Examples\n```js\napp.use(cacheControl({ public: true }));\n\n// If you want to modify the cache control header on-the-fly\napp.use((req, res, next) => {\n  res.cacheControl.immutable = true;\n})\n```\n\nFor more information about the API, please visit the [origin of the module](https://github.com/Mousius/express-cache-controller#options).\n\n# License\n[MIT](LICENSE)","readmeFilename":"README.md"}