{"_id":"lusca","_rev":"326463","name":"lusca","description":"Application security for express.","dist-tags":{"latest":"1.7.0"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"time":{"modified":"2021-06-07T02:44:50.000Z","created":"2013-11-15T15:59:15.696Z","1.7.0":"2021-02-23T00:22:49.949Z","1.6.1":"2018-07-30T18:35:04.706Z","1.6.0":"2018-04-11T17:20:04.715Z","1.5.2":"2017-10-03T18:29:17.538Z","1.5.1":"2017-08-14T18:04:52.702Z","1.5.0":"2017-08-08T22:08:45.893Z","1.5.0--alpha":"2017-08-07T21:57:42.831Z","1.4.1":"2016-05-10T20:43:26.226Z","1.4.0":"2016-05-05T20:10:29.346Z","1.3.0":"2015-07-17T19:55:48.099Z","1.2.0":"2015-07-14T19:55:53.936Z","1.1.1":"2015-06-05T20:40:35.778Z","1.1.0":"2015-04-25T20:31:28.745Z","1.0.3":"2015-04-03T17:49:05.082Z","1.0.2":"2014-10-16T22:22:13.602Z","0.1.2":"2014-08-07T00:51:33.318Z","1.0.1":"2014-06-19T22:05:36.570Z","1.0.0":"2014-03-05T19:28:13.040Z","0.1.1":"2013-11-15T15:59:15.696Z"},"users":{"faas":true,"guumaster":true,"boljen":true,"orthes":true,"pwarelis":true,"superpaintman":true,"456wyc":true,"dpjayasekara":true,"tobyforever":true,"koslun":true,"tmurngon":true,"ferrari":true,"itonyyo":true,"coolhanddev":true,"leonzhao":true,"dkblay":true,"jamesbedont":true,"superchenney":true,"laoshaw":true,"pftom":true,"losymear":true,"emjimadhu":true},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"versions":{"1.7.0":{"name":"lusca","version":"1.7.0","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"^0.4.5","grunt-cli":"^1.2.0","grunt-contrib-jshint":"^3.0.0","grunt-mocha-test":"^0.7.0","jshint":"*","supertest":"^0.13.0"},"dependencies":{"tsscmp":"^1.0.5"},"gitHead":"741de51c4c61c73a97950e41a282a15e12ebb5a8","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca#readme","_id":"lusca@1.7.0","_nodeVersion":"10.18.0","_npmVersion":"6.13.4","dist":{"shasum":"a5d979f1b51776e60d41e0ca98f886f1b8b95502","size":10715,"noattachment":false,"key":"/lusca/-/lusca-1.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.7.0.tgz"},"_npmUser":{"name":"maxmil7","email":"maxmil7@gmail.com"},"directories":{},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lusca_1.7.0_1614039769783_0.05385319752051898"},"_hasShrinkwrap":false,"publish_time":1614039769949,"_cnpm_publish_time":1614039769949},"1.6.1":{"name":"lusca","version":"1.6.1","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"^0.4.5","grunt-cli":"^1.2.0","grunt-contrib-jshint":"^0.7.0","grunt-mocha-test":"^0.7.0","jshint":"*","supertest":"^0.13.0"},"dependencies":{"tsscmp":"^1.0.5"},"gitHead":"0483eda77a6fcef08d9319369e1f2b6fd2a5dcba","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca#readme","_id":"lusca@1.6.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"lrace","email":"link.race@gmail.com"},"dist":{"shasum":"f7445e50c720030f5ee53d1336e9e53d1786c34f","size":9927,"noattachment":false,"key":"/lusca/-/lusca-1.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.6.1.tgz"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lusca_1.6.1_1532975704597_0.5937551696233636"},"_hasShrinkwrap":false,"publish_time":1532975704706,"_cnpm_publish_time":1532975704706},"1.6.0":{"name":"lusca","version":"1.6.0","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"^0.4.5","grunt-cli":"^1.2.0","grunt-contrib-jshint":"^0.7.0","grunt-mocha-test":"^0.7.0","jshint":"*","supertest":"^0.13.0"},"dependencies":{"tsscmp":"^1.0.5"},"gitHead":"c2d118f7277c5a1c164a45eb9f6520140ebd0139","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca#readme","_id":"lusca@1.6.0","_shasum":"18f3ceda2f8518dbaf976bf3b59b8eb9e058a0d5","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"lrace","email":"link.race@gmail.com"},"dist":{"shasum":"18f3ceda2f8518dbaf976bf3b59b8eb9e058a0d5","size":10137,"noattachment":false,"key":"/lusca/-/lusca-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.6.0.tgz"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lusca_1.6.0_1523467204662_0.2347044128499196"},"_hasShrinkwrap":false,"publish_time":1523467204715,"_cnpm_publish_time":1523467204715},"1.5.2":{"name":"lusca","version":"1.5.2","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"^0.4.5","grunt-cli":"^1.2.0","grunt-contrib-jshint":"^0.7.0","grunt-mocha-test":"^0.7.0","jshint":"*","supertest":"^0.13.0"},"dependencies":{"tsscmp":"^1.0.5"},"gitHead":"09bebb4a104ef4661750f549a2d7bdff65e9a15f","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca#readme","_id":"lusca@1.5.2","_npmVersion":"5.3.0","_nodeVersion":"4.4.4","_npmUser":{"name":"lrace","email":"link.race@gmail.com"},"dist":{"shasum":"5230a0c635fb60c1f30efbd0d95341bca3ed788e","size":11902,"noattachment":false,"key":"/lusca/-/lusca-1.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.5.2.tgz"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lusca-1.5.2.tgz_1507055357473_0.8319427622482181"},"directories":{},"publish_time":1507055357538,"_hasShrinkwrap":false,"_cnpm_publish_time":1507055357538},"1.5.1":{"name":"lusca","version":"1.5.1","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"^0.4.5","grunt-cli":"^1.2.0","grunt-contrib-jshint":"^0.7.0","grunt-mocha-test":"^0.7.0","jshint":"*","supertest":"^0.13.0"},"dependencies":{"tsscmp":"^1.0.5"},"gitHead":"70c510ad69555ba4097c996082abc2a525914093","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca#readme","_id":"lusca@1.5.1","_npmVersion":"5.3.0","_nodeVersion":"4.4.4","_npmUser":{"name":"lrace","email":"link.race@gmail.com"},"dist":{"shasum":"fef49b21054400cb7f5fef1d77d4bd25bfc3d131","size":12133,"noattachment":false,"key":"/lusca/-/lusca-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.5.1.tgz"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lusca-1.5.1.tgz_1502733892603_0.7169929554220289"},"directories":{},"publish_time":1502733892702,"_hasShrinkwrap":false,"_cnpm_publish_time":1502733892702},"1.5.0":{"name":"lusca","version":"1.5.0","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"^0.4.5","grunt-cli":"^1.2.0","grunt-contrib-jshint":"^0.7.0","grunt-mocha-test":"^0.7.0","jshint":"*","supertest":"^0.13.0"},"dependencies":{"tsscmp":"^1.0.5"},"gitHead":"10079307f121fad18d42158b7fda67a70771a337","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca#readme","_id":"lusca@1.5.0","_npmVersion":"5.3.0","_nodeVersion":"4.4.4","_npmUser":{"name":"lrace","email":"link.race@gmail.com"},"dist":{"shasum":"63b57251bdee137414f15b31fa5243d0f7763a1c","size":12009,"noattachment":false,"key":"/lusca/-/lusca-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.5.0.tgz"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lusca-1.5.0.tgz_1502230125636_0.45644310186617076"},"directories":{},"publish_time":1502230125893,"_hasShrinkwrap":false,"_cnpm_publish_time":1502230125893},"1.5.0--alpha":{"name":"lusca","version":"1.5.0--alpha","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"^0.4.5","grunt-cli":"^1.2.0","grunt-contrib-jshint":"^0.7.0","grunt-mocha-test":"^0.7.0","jshint":"*","supertest":"^0.13.0"},"dependencies":{"tsscmp":"^1.0.5"},"gitHead":"10079307f121fad18d42158b7fda67a70771a337","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca#readme","_id":"lusca@1.5.0--alpha","_shasum":"b9dcb88c79d53ff8df8434cb97584cddf72c357a","_from":".","_npmVersion":"3.10.9","_nodeVersion":"4.4.4","_npmUser":{"name":"lrace","email":"link.race@gmail.com"},"dist":{"shasum":"b9dcb88c79d53ff8df8434cb97584cddf72c357a","size":12027,"noattachment":false,"key":"/lusca/-/lusca-1.5.0--alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.5.0--alpha.tgz"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lusca-1.5.0--alpha.tgz_1502143062724_0.22290072962641716"},"directories":{},"publish_time":1502143062831,"_hasShrinkwrap":false,"_cnpm_publish_time":1502143062831},"1.4.1":{"name":"lusca","version":"1.4.1","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.0","grunt-mocha-test":"~0.7.0","jshint":"*","supertest":"^0.13.0"},"dependencies":{"core-util-is":"^1.0.2"},"gitHead":"705a3c64d218cae3b0ecde966ea0c037fbbe8f79","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca#readme","_id":"lusca@1.4.1","_shasum":"498ad9edc4b77d858d0b1c237db8da7f850b36ec","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"jasisk","email":"jasisk@gmail.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"dist":{"shasum":"498ad9edc4b77d858d0b1c237db8da7f850b36ec","size":8443,"noattachment":false,"key":"/lusca/-/lusca-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.4.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/lusca-1.4.1.tgz_1462913003600_0.6338055308442563"},"directories":{},"publish_time":1462913006226,"_cnpm_publish_time":1462913006226,"_hasShrinkwrap":false},"1.4.0":{"name":"lusca","version":"1.4.0","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.0","grunt-mocha-test":"~0.7.0","jshint":"*","supertest":"^0.13.0"},"dependencies":{"core-util-is":"^1.0.2"},"gitHead":"73fa114268c30c1183437a5575111d03f8a18b87","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca#readme","_id":"lusca@1.4.0","_shasum":"d6bb4ac35b456054b9a510bfdcfa5ccf54d69535","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"jasisk","email":"jasisk@gmail.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"dist":{"shasum":"d6bb4ac35b456054b9a510bfdcfa5ccf54d69535","size":8468,"noattachment":false,"key":"/lusca/-/lusca-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.4.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/lusca-1.4.0.tgz_1462479026764_0.31065304507501423"},"directories":{},"publish_time":1462479029346,"_cnpm_publish_time":1462479029346,"_hasShrinkwrap":false},"1.3.0":{"name":"lusca","version":"1.3.0","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.0","grunt-mocha-test":"~0.7.0","jshint":"*","supertest":"^0.13.0"},"gitHead":"6c9a4663a58448497acd7e4aee7f35ae2f47e55d","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca#readme","_id":"lusca@1.3.0","_shasum":"637986bbc43ab98f1a850b86b665696b5ae5e159","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"jasisk","email":"jasisk@gmail.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"dist":{"shasum":"637986bbc43ab98f1a850b86b665696b5ae5e159","size":9938,"noattachment":false,"key":"/lusca/-/lusca-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.3.0.tgz"},"directories":{},"publish_time":1437162948099,"_cnpm_publish_time":1437162948099,"_hasShrinkwrap":false},"1.2.0":{"name":"lusca","version":"1.2.0","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"git+https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.0","grunt-mocha-test":"~0.7.0","jshint":"*","supertest":"^0.13.0"},"gitHead":"6a4d7834be3799909b05a814bf9ff5b67053054d","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca#readme","_id":"lusca@1.2.0","_shasum":"afcce0bb2b5e902c142aa72405beea84429e99a6","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"grawk","email":"mattedelman@gmail.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"dist":{"shasum":"afcce0bb2b5e902c142aa72405beea84429e99a6","size":13477,"noattachment":false,"key":"/lusca/-/lusca-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.2.0.tgz"},"directories":{},"publish_time":1436903753936,"_cnpm_publish_time":1436903753936,"_hasShrinkwrap":false},"1.1.1":{"name":"lusca","version":"1.1.1","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.0","grunt-mocha-test":"~0.7.0","jshint":"*","supertest":"^0.13.0"},"gitHead":"f6461245df08bafa2a93fbf407eba497e19b8584","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca","_id":"lusca@1.1.1","_shasum":"13e6615a4a1cd8d60afd548b4af62bb520e10175","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jasisk","email":"jasisk@gmail.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"dist":{"shasum":"13e6615a4a1cd8d60afd548b4af62bb520e10175","size":9422,"noattachment":false,"key":"/lusca/-/lusca-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.1.1.tgz"},"directories":{},"publish_time":1433536835778,"_cnpm_publish_time":1433536835778,"_hasShrinkwrap":false},"1.1.0":{"name":"lusca","version":"1.1.0","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.0","grunt-mocha-test":"~0.7.0","jshint":"*","supertest":"^0.13.0"},"gitHead":"8b12f4cc65ff59ca796ad27c49d329f9bfded010","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca","_id":"lusca@1.1.0","_shasum":"37004aa75e0d445109e5909a7346796463dd8887","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jasisk","email":"jasisk@gmail.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"dist":{"shasum":"37004aa75e0d445109e5909a7346796463dd8887","size":9378,"noattachment":false,"key":"/lusca/-/lusca-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.1.0.tgz"},"directories":{},"publish_time":1429993888745,"_cnpm_publish_time":1429993888745,"_hasShrinkwrap":false},"1.0.3":{"name":"lusca","version":"1.0.3","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.0","grunt-mocha-test":"~0.7.0","jshint":"*","supertest":"^0.13.0"},"gitHead":"f929d1d6aba131bf5421881f6f0bfaac66760e62","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca","_id":"lusca@1.0.3","_shasum":"9d09951bc77a79fdc91a19084fd1cf0025c9195e","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jasisk","email":"jasisk@gmail.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"dist":{"shasum":"9d09951bc77a79fdc91a19084fd1cf0025c9195e","size":9294,"noattachment":false,"key":"/lusca/-/lusca-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.0.3.tgz"},"directories":{},"publish_time":1428083345082,"_cnpm_publish_time":1428083345082,"_hasShrinkwrap":false},"1.0.2":{"name":"lusca","version":"1.0.2","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"body-parser":"^1.6.3","cookie-parser":"^1.3.2","cookie-session":"^1.0.2","data-driven":"^1.0.0","errorhandler":"^1.1.1","express":"^4.3.8","express-session":"^1.7.5","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.0","grunt-mocha-test":"~0.7.0","jshint":"*","supertest":"^0.13.0"},"gitHead":"95d28c7f9d51d173d1a9a8bc728753c28e3612ec","bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca","_id":"lusca@1.0.2","_shasum":"01557357b22318acde5d802d90f6fac43f5a0690","_from":".","_npmVersion":"2.0.0","_npmUser":{"name":"grawk","email":"mattedelman@gmail.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"dist":{"shasum":"01557357b22318acde5d802d90f6fac43f5a0690","size":9085,"noattachment":false,"key":"/lusca/-/lusca-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.0.2.tgz"},"directories":{},"publish_time":1413498133602,"_cnpm_publish_time":1413498133602,"_hasShrinkwrap":false},"0.1.2":{"name":"lusca","description":"Application security for express.","version":"0.1.2","licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"main":"index","scripts":{"test":"node ./node_modules/.bin/mocha ./test"},"devDependencies":{"chai":"~1.7.2","mocha":"~1.12.0","jshint":"*","supertest":"~0.5.1","express":"^3.16.1"},"engines":{"node":">=0.8.x"},"repository":{"type":"git","url":"https://github.com/paypal/lusca.git"},"bugs":{"url":"https://github.com/paypal/lusca/issues"},"homepage":"https://github.com/paypal/lusca","_id":"lusca@0.1.2","dist":{"shasum":"47d2c235c192638238faf955efcfd82e9a2892fb","size":10551,"noattachment":false,"key":"/lusca/-/lusca-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-0.1.2.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"pvenkatakrishnan","email":"poo.leo@gmail.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"directories":{},"publish_time":1407372693318,"_cnpm_publish_time":1407372693318,"_hasShrinkwrap":false},"1.0.1":{"name":"lusca","version":"1.0.1","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/krakenjs/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"jshint":"*","supertest":"~0.5.1","express":"~3.4.8","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.0","grunt-mocha-test":"~0.7.0"},"bugs":{"url":"https://github.com/krakenjs/lusca/issues"},"homepage":"https://github.com/krakenjs/lusca","_id":"lusca@1.0.1","dist":{"shasum":"920fef074cc87fb1e7af2210bfb82ce51f97dac7","size":13686,"noattachment":false,"key":"/lusca/-/lusca-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.0.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jeffharrell","email":"jeff@juxtadesign.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"directories":{},"publish_time":1403215536570,"_cnpm_publish_time":1403215536570,"_hasShrinkwrap":false},"1.0.0":{"name":"lusca","version":"1.0.0","description":"Application security for express.","main":"index","scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/paypal/lusca.git"},"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"engines":{"node":">=0.8.x"},"engineStrict":true,"devDependencies":{"jshint":"*","supertest":"~0.5.1","express":"~3.4.8","grunt":"~0.4.1","grunt-contrib-jshint":"~0.7.0","grunt-mocha-test":"~0.7.0"},"bugs":{"url":"https://github.com/paypal/lusca/issues"},"homepage":"https://github.com/paypal/lusca","_id":"lusca@1.0.0","dist":{"shasum":"574e298f8eda522913e98f6456309cb47a84fabb","size":13536,"noattachment":false,"key":"/lusca/-/lusca-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jeffharrell","email":"jeff@juxtadesign.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"directories":{},"publish_time":1394047693040,"_cnpm_publish_time":1394047693040,"_hasShrinkwrap":false},"0.1.1":{"name":"lusca","description":"Application security for express.","version":"0.1.1","licenses":[{"type":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}],"author":{"name":"Jeff Harrell","email":"jeharrell@paypal.com"},"publishConfig":{"registry":"https://registry.npmjs.org"},"main":"index","scripts":{"test":"node ./node_modules/.bin/mocha ./test"},"peerDependencies":{"express":"*"},"devDependencies":{"chai":"~1.7.2","mocha":"~1.12.0","jshint":"*","supertest":"~0.5.1","express":"~3.4"},"engines":{"node":">=0.8.x"},"repository":{"type":"git","url":"https://github.com/paypal/lusca.git"},"readmeFilename":"README.md","_id":"lusca@0.1.1","dist":{"shasum":"1bdcf16f2ea9fc29f9bae81e6c01344946f50556","size":5256,"noattachment":false,"key":"/lusca/-/lusca-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/lusca/download/lusca-0.1.1.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"totherik","email":"totherik@gmail.com"},"maintainers":[{"name":"grawk","email":"mattedelman@gmail.com"},{"name":"jasisk","email":"jasisk@gmail.com"},{"name":"jeffharrell","email":"jeff@juxtadesign.com"},{"name":"maxmil7","email":"maxmil7@gmail.com"},{"name":"pvenkatakrishnan","email":"pvenkatakrishnan@paypal.com"},{"name":"totherik","email":"totherik@gmail.com"}],"directories":{},"publish_time":1384531155696,"_cnpm_publish_time":1384531155696,"_hasShrinkwrap":false}},"readme":"# lusca\n\n[![Build Status](https://travis-ci.org/krakenjs/lusca.svg?branch=master)](https://travis-ci.org/krakenjs/lusca) [![NPM version](https://badge.fury.io/js/lusca.svg)](http://badge.fury.io/js/lusca)  \n\nWeb application security middleware.\n\n\n## Usage\n\n```js\nvar express = require('express'),\n\tapp = express(),\n\tsession = require('express-session'),\n\tlusca = require('lusca');\n\n//this or other session management will be required\napp.use(session({\n\tsecret: 'abc',\n\tresave: true,\n\tsaveUninitialized: true\n}));\n\napp.use(lusca({\n    csrf: true,\n    csp: { /* ... */},\n    xframe: 'SAMEORIGIN',\n    p3p: 'ABCDEF',\n    hsts: {maxAge: 31536000, includeSubDomains: true, preload: true},\n    xssProtection: true,\n    nosniff: true,\n    referrerPolicy: 'same-origin'\n}));\n```\n\nSetting any value to `false` will disable it. Alternately, you can opt into methods one by one:\n\n```js\napp.use(lusca.csrf());\napp.use(lusca.csp({ /* ... */}));\napp.use(lusca.xframe('SAMEORIGIN'));\napp.use(lusca.p3p('ABCDEF'));\napp.use(lusca.hsts({ maxAge: 31536000 }));\napp.use(lusca.xssProtection(true));\napp.use(lusca.nosniff());\napp.use(lusca.referrerPolicy('same-origin'));\n```\n\n__Please note that you must use [express-session](https://github.com/expressjs/session), [cookie-session](https://github.com/expressjs/cookie-session), their express 3.x alternatives, or other session object management in order to use lusca.__\n\n\n## API\n\n\n### lusca.csrf(options)\n\n* `key` String - Optional. The name of the CSRF token added to the model. Defaults to `_csrf`.\n* `secret` String - Optional. The key to place on the session object which maps to the server side token. Defaults to `_csrfSecret`.\n* `impl` Function - Optional. Custom implementation to generate a token.\n* `cookie` String|Object - Optional. If set, a cookie with the name and/or options you provide will be set with the CSRF token. If the value is a string, it'll be used as the cookie name.\n* `cookie.name` String - Required if cookie is an object and `angular` is not true. The CSRF cookie name to set.\n* `cookie.options` Object - Optional. A valid Express cookie options object.\n* `angular` Boolean - Optional. Shorthand setting to set `lusca` up to use the default settings for CSRF validation according to the [AngularJS docs]. Can be used with `cookie.options`.\n* `blocklist` Array or String - Optional. Allows defining a set of routes that will not have csrf protection.  All others will.  \nExample configuration:\n  ```\n  blocklist: [{path: '/details', type: 'exact'}, {path: '/summary', type: 'startWith'}]\n  //If match type is 'exact', route will get blocklisted only if it matches req.path exactly\n  //If match type is 'startsWith', Lusca will check if req.path starts with the specified path\n\n  For backwards compatiblity, following configuration is supported as well. It will be evaluated using the 'startsWith' match type.\n  blocklist: '/details';\n  blocklist: ['/details', '/summary'];\n  ```\n* `allowlist` Array or String - Optional. Allows defining a set of routes that will have csrf protection.  All others will not.  \nConfiguration is similar to `blocklist` config\n\nNotes: The app can use either a `blocklist` or a `allowlist`, not both.  By default, all post routes are allowlisted.\n\n[angularjs docs]: https://docs.angularjs.org/api/ng/service/$http#cross-site-request-forgery-xsrf-protection\n\nEnables [Cross Site Request Forgery](https://www.owasp.org/index.php/Cross-Site_Request_Forgery_\\(CSRF\\)) (CSRF) headers.\n\nIf enabled, the CSRF token must be in the payload when modifying data or you will receive a *403 Forbidden*. To send the token you'll need to echo back the `_csrf` value you received from the previous request.\n\nFurthermore, parsers must be registered before lusca.\n\n### lusca.csp(options)\n\n* `options.policy` String, Object, or an Array - Object definition of policy. Valid policies examples include:\n  * `{\"default-src\": \"*\"}`\n  * `\"referrer no-referrer\"`\n  * `[{ \"img-src\": \"'self' http:\" }, \"block-all-mixed-content\"]`\n* `options.reportOnly` Boolean - Enable report only mode.\n* `options.reportUri` String - URI where to send the report data\n* `options.styleNonce` Boolean - Enable nonce for inline style-src, access from `res.locals.nonce`\n* `options.scriptNonce` Boolean - Enable nonce for inline script-src, access from `res.locals.nonce`\n\nEnables [Content Security Policy](https://www.owasp.org/index.php/Content_Security_Policy) (CSP) headers.\n\n#### Example Options\n\n```js\n// Everything but images can only come from own domain (excluding subdomains)\n{\n  policy: {\n    'default-src': '\\'self\\'',\n    'img-src': '*'\n  }\n}\n```\n\nSee the [MDN CSP usage](https://developer.mozilla.org/en-US/docs/Web/Security/CSP/Using_Content_Security_Policy) page for more information on available policy options.\n\n### lusca.xframe(value)\n\n* `value` String - Required. The value for the header, e.g. DENY, SAMEORIGIN or ALLOW-FROM uri.\n\nEnables X-FRAME-OPTIONS headers to help prevent [Clickjacking](https://www.owasp.org/index.php/Clickjacking).\n\n\n\n### lusca.p3p(value)\n\n* `value` String - Required. The compact privacy policy.\n\nEnables [Platform for Privacy Preferences Project](https://www.w3.org/P3P) (P3P) headers.\n\n\n\n### lusca.hsts(options)\n\n* `options.maxAge` Number - Required. Number of seconds HSTS is in effect.\n* `options.includeSubDomains` Boolean - Optional. Applies HSTS to all subdomains of the host\n* `options.preload` Boolean - Optional. Adds preload flag\n\nEnables [HTTP Strict Transport Security](https://www.owasp.org/index.php/HTTP_Strict_Transport_Security) for the host domain. The preload flag is required for HSTS domain submissions to [Chrome's HSTS preload list](https://hstspreload.appspot.com).\n\n\n### lusca.xssProtection(options)\n\n* `options.enabled` Boolean - Optional. If the header is enabled or not (see header docs). Defaults to `1`.\n* `options.mode` String - Optional. Mode to set on the header (see header docs). Defaults to `block`.\n\nEnables [X-XSS-Protection](http://blogs.msdn.com/b/ie/archive/2008/07/02/ie8-security-part-iv-the-xss-filter.aspx) headers to help prevent cross site scripting (XSS) attacks in older IE browsers (IE8)\n\n\n### lusca.nosniff()\n\nEnables [X-Content-Type-Options](https://blogs.msdn.microsoft.com/ie/2008/09/02/ie8-security-part-vi-beta-2-update/) header to prevent MIME-sniffing a response away from the declared content-type.\n\n\n### lusca.referrerPolicy(value)\n\n* `value` String - Optional. The value for the header, e.g. `origin`, `same-origin`, `no-referrer`. Defaults to `` (empty string).\n\nEnables [Referrer-Policy](https://www.w3.org/TR/referrer-policy/#intro) header to control the Referer header.","_attachments":{},"homepage":"https://github.com/krakenjs/lusca#readme","bugs":{"url":"https://github.com/krakenjs/lusca/issues"}}