{"_id":"express-xss-sanitizer","_rev":"20-e860a59bd0ef621e3ee4172ad1d8df3f","name":"express-xss-sanitizer","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"express-xss-sanitizer","version":"1.0.0","keywords":["express","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.0.0","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"03c508b3a181f5fb3b82038bc122307b88b06c7f","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.0.0.tgz","fileCount":4,"integrity":"sha512-skGFCKYTy5bqSDp8RvmyyVqM3lFnwlsqOc+ojC2CPDA1eNnaTllJMaiPRwXWIWNzvQAdsUCHK17vrfzjoDNkag==","signatures":[{"sig":"MEUCIQDHPZ3usnEEjH4ubMWTHdf9K34HnhfkyuWU7xDbRfV/qwIgLWyeP3Fe7Wy3ihnSZuHJ2TTVfWD6q083RFLbS1o6Wv8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJft8nPCRA9TVsSAnZWagAA7eIP/3nuuxS892qDtdSgi2q1\nV1O2m1ScF0mJk2tVZk206f34TqBulCi0sJESPE+acHfq5xWT4FpiWZKpaH+5\nlXjRy/mN6qBsLz2HeBXSe9fOFkpPh3ne41HGkEYowu4/15cf6L76Fdf4PHaz\nvkdB+yzx4va2wsaL2BUaKSy2bpu4NMgj7udzJaPMB7whm/0akUyoNSD+ikmV\nHBfARhVFj9gi7mlakd0wZsdeOjoAF20IlWZF+qIc015exZ0r4nZb6y943uYZ\nMyDBMItey+ORCPo9ZVNBTWY04odbjO8oQP/ENdRQN941kM2gEkBgXYPJ6Epb\npiX+16LeWjrbK8rhRum1xy/4P9RkGdTgyOhxQEhdQ0ayjlbAR7kdQDsrl39u\nWU+7FJfRCvOAOEhP3N9i9T58XP8Sl8Fl9epB4/EDsqxarLJ/r0iDi6khOu8U\nbVorTQLaVPlszXiwD/cgXK7vJWW6qk6jR38gRgKkDSh+Yi8Y/SjRa9tgT3Bc\n1uJ76MMatWnCUBCmFXa7WAWQIgvQV/Lc7/CcZ9kOBawSRxIrMsOF1n2AGpUb\nNeX1xggKwJmf+LLBoMnSPWn2Tc+8oDVzhct609fbMGibENvRDz+P9MK9dRh2\neOQ9YtRDyQxhMqpQiIHOvzm27fu0MdrGvVBnld+ch6Fbb+QAM0Rpl+l978hV\nNV0+\r\n=QsO9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8b506275e3af0be728dfea08072ceb7542f17ae0","scripts":{"test":"./node_modules/mocha/bin/mocha "},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"6.14.6","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"12.18.3","dependencies":{"sanitize-html":"^2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1","express":"^4.17.1","supertest":"^6.0.1","body-parser":"^1.19.0"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.0.0_1605880270911_0.582014765875492","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"express-xss-sanitizer","version":"1.0.1","keywords":["express","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.0.1","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"5f95adbe87fe146cc880626336fcc05a9104bc96","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.0.1.tgz","fileCount":7,"integrity":"sha512-4R8ydmQe4L/YphPf6BI0gisiyOcG4SRb5LLE8Hseaiu1taTwL8BQeSqJedGOkDDcIIjuaY9EpYRr40U8I5Wx1w==","signatures":[{"sig":"MEUCICXm4RZV9KVLHbbOsU8NYoSiU3m7S72jnp3Z2C5PGZPKAiEAyj016MqQHkd4+wbL3v/mogyTtjHdkeHG+I3FunR0cZA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLm/ICRA9TVsSAnZWagAAB1oQAJE4dWbiR6mS9/wo28rL\n8UxMU+4R8COor1W/nxBc7brf1RYqoGj21Tf+Uc0pI7yW8XfaIl6z/4LWvHaW\nUUPWUCbwF29vS5K7/WrR/me6YP+vmt1Dys2U/5ywd1Zxnfh2hltQG2XjAdHj\n+fV4eWZtF7Q6kfh6AgYLliDLdueypcdna4mqY+1b9It/V4viiOI952QGcEeF\nmW/IVuRHeUESJRduMmHrY2AK0ArRHZMLFip++MOkKRSFc821B17veO0dGcg6\nQ0zLmeH9t5vhdslbH8dJh1k4Whb1YY0UMqd/Cnaq6abGqzUpJ1uADx9k8lXw\nYgg0L5K5FHQRCawvi04aE/AuUY+++n1K5eGvGLHshVFDKCkMKcBUNPGn+O1U\n2C8D/G6scB9jSvfmrYM5Q0DieFtDy88POhK2cNF2vNeSqT7kct7/Jkan5vW2\n+7REus2+T57VuLKlvlHDdj7X09n1XDn6ulxIyNBv9cU/493MD7hYg8mB+Blz\nj5gGkKqBamKT6QTm0p1sgS4z48gXugxuEh4rPkZ7AhhZqmFXlxuTKP6NpiXt\no9zqvEydJfSnegeL1KzKLqXk1IwBXU8ThbRJFfIg1NTKFdyqkVrUVUoryn6N\nDMDBoQWhuuKYOAmrc7KxSdxEV922IE7hu8sCVtIqI8igbD8igPkLmqj4e3yK\nND3J\r\n=bS/j\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5435455d80bdc629e80f65a27afdfe1efa7623af","scripts":{"test":"./node_modules/mocha/bin/mocha "},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"6.14.9","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"14.15.3","dependencies":{"sanitize-html":"^2.3.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.0.1_1613656008400_0.38090201645459243","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"express-xss-sanitizer","version":"1.0.2","keywords":["express","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.0.2","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"c29d14a06478dbfd28b16cc28241211096770946","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.0.2.tgz","fileCount":7,"integrity":"sha512-BJUDoLa2VpbaIX5hoj6Km7yalaChMf9eeJZqM0gRgT1aR/ZfenZ7Wf1qPVORr9Og9Q7p+Zh6zn6D2n6/ZXZm7g==","signatures":[{"sig":"MEUCIHMc1Jy0NziWDvAiQ2IYvYLDgcD3cNIG1RuXNBHIyu61AiEAyCg2BugwoGVuEQ2RVHMGWt/2grfR0KLvtmMiDumZ5hs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNOveCRA9TVsSAnZWagAAra8P/2LqMOwsXjKx0B9KJ+hU\nbBxJylfQNK9bP02xKVXcap2hN6Hbv2VMM1AxkFTuz4kXcRNVA3heV8D312JC\n6b9r9TDVjh6A7arN1SkJGfs278pMSWFvkXCKga+5VBEF1gjBTU2wGOZKFGU9\nJOC+RTyrOfXcPSUX93+uXiPk9IEcXWVArxEyOrKOQO1lkfZOu6CNQzH7Ulgu\nv17dIumq/UTR/Rz3Ud2W3nv0o/q8WD2iKxFsLN3D3k0n1p/ek4doLAQV0xFg\ncRpYVIqBkKfr6S295uqAmf1eD32to/4O0LNJn7WdCA0GfMMoV3ylE1G2mc4A\n931/MwjFwK9aClcW1WLI77z9zzLQkwuInMiiTh/ZlGMPueA4X8kGgu6TUonO\nLummGhiPmY9CLiHX8F0H4WwHe/TcMNp0/FxQgJtylRxgKdueKlvUNNB1iN5S\nAcfKfOZ23UDDIzNIPsl/0ds7akbfYmMGOA4/x15XQbWJsUpzXbCAHVwQhp0y\nZrnxOZ9UYtJo+4a4zEIsfYuCyBEeULxNshH4JZNyoeBZ4XHVzeffzeoGP28u\nPNjntNOuAyGoEEHV2ardCqK0mPIFVrTOLdwzYJMK80hhpUB6qAq+nnGMbvvG\nUK/bGf757uTHb2cqcFB/X5v5nSnJGgHxMN4mH3/DQnx+lndzWTlZ0WKuYbfF\nZxhl\r\n=Nnyv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"5b1efd360a79342a617720e3dc737e9e7e8dbe62","scripts":{"test":"./node_modules/mocha/bin/mocha "},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"6.14.9","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"14.15.3","dependencies":{"sanitize-html":"^2.3.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.0.2_1614080989231_0.34218534743191453","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"express-xss-sanitizer","version":"1.1.0","keywords":["express","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.1.0","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"1774423d80eda5b47b5b7f669bbfed7ab04ff3e5","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.1.0.tgz","fileCount":8,"integrity":"sha512-8FuNpHvMqluiihwgN4RI4GhUyTbraB3K0dqZbO5CHVFJGju0cq+8qB1IClpbs1UqbbB7EKxzjpDtnko4UIo7IQ==","signatures":[{"sig":"MEUCIFYI5mFWuo66J96jBk7oKrmS4mx3GEz8rz61G5/uAuzJAiEAqryCKsHsc0m4eeGGJwvTwvBIZOG4KtsBATYsNc+q9UA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNnfjCRA9TVsSAnZWagAAeVMP/0eTaxtRno5Id0gh/L47\nYnj5xC8aaiR/JuNQV7rz/Z5+w9awnVROug9q4ByLYy9gCn6NnNaSao8/y4oe\nrgabf5YKxiRh6lS6f8TGIM+SPjTbJX/0JGOTRxBKPU8jAnmVfPxUOVgATEth\nVIAgITev7koovKPoflNRUXkc6yvGniz/nvbyGGwRe7fSVg1k5aUCY2kFdlu+\n1LgDhj+/dcv3Vzxzu7nf7kJeiEIocqMbpIIyhIKKm/6mksxFCcND86AWO+Wp\n3MnkTBav4nOOZsYikl0fTRRHaK8AkU5b9EJZGMyy8Psk/J4cJoRFm8pPcP4g\nbINplgcQSoJD0nh6m8ZnjNIqR9C25abTzpcrCE/qLafZhrSDthe2cLQEn27o\ngoqz7DXNuquspoFjo0PYMYEZg/I5pA2oPjpOivcJyjN2q6zNiPbRD5j4qmcB\nsUhCYrXge87bXo4r2fEczYtumjBcdLUZ+QYUOU3Lple7CfdMQ7p6h/9LscT7\noUI28K89XWGcYMpXjtpN9pYjPXWy2SLnHkUdWBMId08MbNNgTMM4sSnATmxD\nQ1Yb07XUx7t1qQO4mQHu1LWL/vye+33tm8XXTHtg20M+Ki9A/s6vrmIErdM0\n/Z30vZxfHdN42cNILwVpdlk4EwnZd9du8to4CAuEhaBZSzVRw/rh9G5KT4/u\ngEsr\r\n=t3gB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"613ef9cb27b907b5659cd82a4fb3be8b9b42729a","scripts":{"test":"./node_modules/mocha/bin/mocha "},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"6.14.9","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"14.15.3","dependencies":{"sanitize-html":"^2.3.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.1.0_1614182371190_0.8999963780514904","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"express-xss-sanitizer","version":"1.1.1","keywords":["express","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.1.1","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"f5557bd10a763442e8e39f7049b69d8b35bd0091","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.1.1.tgz","fileCount":8,"integrity":"sha512-pA3RU7785KfzsBigIosa8uPZPS4j4MxBICQ2YzfH4F63qKh8tT0V9EEYr9IMt1mOSMOPNNF4ODN+A++T/ECkZw==","signatures":[{"sig":"MEUCIBqQ2g6uH0+WG/rsuwhrvnpTTmx97hcnT+egpw24tjm5AiEAtdobs+VWjrlry3sotnNn450t1Ux7wBSYNDEmh+ckzzg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3v0YCRA9TVsSAnZWagAARSEP/17t9Cl7puPqXg8gvDc5\nNp0mhPvnMlRVoAeFwkJYwKyH4qDkJ90TldMsRbRrEUK5oTNSGwQ5PqUR9ajx\ny4jlhCdqY9+kwc25p1v2PrOBZJFWwxwnuiQKNpPvqnZlGU9B0qPXjM5XAF9m\nYuwe6PyxQKBBtm2Uy6vE0QHDgBBWyHVcUfa+4i/HOSNfBPZJ7sHfX7CEoOxh\nnoTLjstSbKQjB5NRaRLKcpKqiOZH+VQB4q9VZjfKDjTFeERIkIgAG8CUrqS/\nO6L2mYt+sUa10H5oPSRBi6QR5gNdfLxxq6Ox1iBmIdmC11m+x304YFw+H2UJ\nej5q7hWRc4zaicxhO9MWa3gWlwygMnD+TBQR4RuepEM4O+quqeKwHarYqHob\nT39H7Iy8PXT6X8ZRBIQNMA40FY+pHohSu4m3tIyChbTPZGcxl4CSV+FGKO5R\n1IBbgbUlD50/P5RkWMJYuMme2JijWCoQjODwTI5Kt9ynqDULIJFmif5l/PHe\nbfGGtWEPNHopum5ethVH6Vii8xU6RzMl3gHTvCxTKZ73LgTlLkN9Xb9e/xpW\n9Ub4gZ8JbyedgmS7NbhyYJsSKIkTC4+MXphU2iym7Z3YoQlCGB767ZAoHEfV\nholvYBOT8eMfke0v3zOBzghVZnDqf28kkltI5wqwJEW5HMDrw94pn89NbYSg\npqxN\r\n=Pbbs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"8434f9ce9a182d998beb585f12f80e4ba389ae88","scripts":{"test":"./node_modules/mocha/bin/mocha "},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"6.14.11","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"14.16.0","dependencies":{"sanitize-html":"^2.3.2"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.1.1_1625226519559_0.39690640889695117","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"express-xss-sanitizer","version":"1.1.2","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.1.2","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"63703efdd3db5520bbebf7f8abb51721b3130c07","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.1.2.tgz","fileCount":8,"integrity":"sha512-P1rCKL41tzPPurDIGyE0DA7OphFg7t5Xl7xeUykDBvR4MaihzPW4qy/8AZ7B7lH2a2daiZKbZyCuLG/W86cc2w==","signatures":[{"sig":"MEUCICluj9FWPkDY5VionhFV2UblvbNf3K16hsshOhud+fEFAiEAwRs4JuGFHllFaS3TegV15XjSr82UNTX0r2FbMyQRt5w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7o6PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqryA/+JPqqmBDHJ0oIpQftIXMfxnY11bvXlEpIWNZXMC9SjQXKE50X\r\nwyLNScTa863HUYScG+GSXTKozT9JeOHAxQQQDU0LnqipfVqqwU6VqDXrCz6u\r\nvgbjIIC+sEqSKE3tR0EOFt2+5LT4AUa0UT4mB3FWU4T63oNtITgDxukw0V9K\r\naK4nymppLUa8QJaTYruyLvWhWdxJWrcEv3qQi10QDGmygSgufHGIxLIz/Pq3\r\nw3KjnxCgR52jnVhjAK+UL9xZwNOE3Cg7cYS5hh7XXxrH5pqLH3qu1bfFhcO6\r\nj1DJKFZUTJ6+PO7cBaFmjzkz/e6jbTaD/QsGy0/B81JYDQEpeN/ID9J1q0zn\r\nvcIhokGW5TCO+XtLm4DML1dA3fxZwcUXfeBJQewFEVgMotDVbAGp8Cou6GYe\r\nufV8onVx2BvvVaqxMJWxfcpDb1aGGwlJGq0JJgXwgcH6FNFdVJDPFYHpS51H\r\npwEXIgQ+MAnzuZFsl/x+mzll+yUlJJcSy9ydb1WIAI2XMO+QODBLPHK36+2G\r\n2FIXYhptG2RnuDPVXkLM8XcGx8CpfhJicjQ/o5fnwTe0OTJoBAUVRxMfxngs\r\nEZPeFNAvb9h9lqinRAb08o+o0mImqF2THIFW4SRYZvtj3t5s2Uu5yeSIOq9h\r\np0vUqDoVZbNJUd+1TI2wJrC80GdkKKOEZos=\r\n=M22H\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"fe0ebce263341f247b2360a8d55b9985b9155234","scripts":{"test":"./node_modules/mocha/bin/mocha "},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"8.3.1","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"16.14.0","dependencies":{"sanitize-html":"~2.7.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.1.2_1659801231759_0.2887021020562728","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"express-xss-sanitizer","version":"1.1.3","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.1.3","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"c3af01d974151b4cde6d0662a89437b800f3b52b","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.1.3.tgz","fileCount":8,"integrity":"sha512-lsvMDS3mOpgwCkK+oxZdyFvsoixy1S1WD8LcYmKD3/xoWx1ohvXF8uFNc3aaAaNcfaAastft2H2JAGvb8PQYBQ==","signatures":[{"sig":"MEUCIQCYcAsrMKZ0Z5PwxH+HoBktgMDIvikkJcD89q+0p+0ZCwIgfuuQjVDCQS5L4dkTP6ReLeATPJC0nLaapffQzHL0qdE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39093,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKh9RACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqoeQ/+PgHtwKBHyATR1f9ioZyr4PUjmqnIr7wj0p6V1+ol2hLkeUF4\r\nfIEdAowLeM72CWrV78RR/C8iu60NP1AXagVwGl+Sp7jIQAtrdDZ+ip9KN3AQ\r\nAf03c9WF0CI6cNjRRirLOfLhKVmvf/UL3GIDQPDvcSJQ+423FVr1nnGRgfWJ\r\na0gVaS1A+Rr8OSNeGC05H1zODVgV3yszkyDZO4rmm0eIHi/9+vyWHRiVUrHP\r\na5dBUkBLZHdKbzpIlCgRVfm1Szqoi7W6pvbSGbG+hpVHBk5Z6F96mCCMOkAh\r\nYekMSuS03JjVzNHDsMm3ItQ5iFXe8pn8aQil5W1lc//jqhDqTpvkhlK8/5Iv\r\nDHlh9EobqQAFhlTJiqn++3IgpBxLoTpS7305BBVllCbUXQ0u9dKs9iW0J667\r\nsof/OfIlbKS/XhLF6wJnCM8WbH9Ik9f30i7j5IywtMKWBcIc9L7sV0Y/w5Il\r\nOVDi3DDg5XXpdZOgG/a5hakbKVyEIyah05Y96I2bTn2/tP0+9x9frRxSwhOq\r\nj9YSjE7hNqrgzm8xyrLy4Yn0u5X8MYbAwxRvHD4ig7/RH2Eu4W7F11LfFr4h\r\n6+wOc0sxFNF3ecyCz0VhlLjsrscDbkGsxRsAgtmtlu7O3IMHLQBTRKn+T/j7\r\nEiJDezajqVCgVG8UVVLj5/lX1O7cti5aHH8=\r\n=bMdT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a90ee0b5ac15fa1b300663d49d5b8b0d6f242d23","scripts":{"test":"./node_modules/mocha/bin/mocha "},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"8.3.1","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"16.14.0","dependencies":{"sanitize-html":"~2.7.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.1.3_1663704913726_0.42180404759907564","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"express-xss-sanitizer","version":"1.1.4","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.1.4","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"a6c5e1b37992afd01ce3fa4d20f31c8f1ab3ee2c","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.1.4.tgz","fileCount":8,"integrity":"sha512-PMUB8POF5hNyaKKLo7Yph9rtN3bFFaY6Zad1MWag2AbJV3Fm7xlt7wwUXSl5yyvfeAndcU/OOXT5KQF/8uZs+w==","signatures":[{"sig":"MEYCIQCHe+h0uhFhCw59UF9NZ7031slSanvInQKsLgKsDthPzAIhAIB2bPDt7Hbq7OABn2NdrHPbC5IdF3mbFHGnV/2VLndH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39252,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQD3IACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTCQ/+LsC3uNC/wziIQy9C79WNG8+7kDCQw4FwIieq5TLGnNCqhKks\r\nvqHh8lejjTJSyPNomApNvgDFXTcaTOkJMN5tulkgSrBM7k0A2S0yDLoSyl0z\r\nuxSEJkjVU2YCH3qB4hPAV4djyxiV9Ak6zCNCcFS1YZxpUtk2gSLADZYEf1kT\r\nNNWYOIA/rf/MazjLRD3SCYXHh//lco7XjBzrdMFzZuxcHwJlmgIcKE9VyfQd\r\nEiZXWErcdl33EqZDnXgRvP9JnuKuJXUabBieThhOusKv/YBO59RI7CoPfqL5\r\nLQntapFmU5T1td056kfLaOigr64WZYoZoURGMTEOFsz4VYCffQlCNMdRei2O\r\nbbcyisvboO1nU8S+2HZLPiqA/6SkxfD2r4cAzwaUjicVEhHhM0HgzNk3nddn\r\nZC14SzmnqQOcz9JCOb2/X/HShd42nHVl0qAN7fSvILt+gHZMvvo+r5MSWcmw\r\nlEOR86iZ+3Y43fnvWDpToyQS0CLagqoDD3LsqlwHkSp8SvyOHtNL7ag530SX\r\n7UvavhvmJsOS5gBB1nfcUjsp7wqW4blhq2awU0cUlW4dDz1jmM0Ns03LpIr5\r\n3+q18qhDIqECrBkZSGOFaMTcUzXGhY6Rc+E0SlhQy4y4wwZB6z6qDSIp0ROZ\r\nRmSj4mKXz6vIdQe5DmvNn38fcDEamc1IYN0=\r\n=hiiP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=16.9.0"},"gitHead":"e29a0f9c7f435e5996e44047f8250a16f509f68f","scripts":{"test":"./node_modules/mocha/bin/mocha "},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"8.3.1","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"16.14.0","dependencies":{"sanitize-html":"~2.7.1"},"engineStrict":true,"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.1.4_1665154504342_0.9885709561576417","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"express-xss-sanitizer","version":"1.1.5","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.1.5","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"d1b04a8440c4d3779a4a8a37d2f7a4d14f88f927","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.1.5.tgz","fileCount":8,"integrity":"sha512-iodQ7+M8n5IQFEiUTVWaw1Ni7CSnHX76JK96RkEKa+Ou0onM/B4QVPdVeLd0sEqOfxm1UVvzhVJwklODdiE5tQ==","signatures":[{"sig":"MEYCIQDKEYUwQgURzM24zlhOeLhDWMiBEHDASgtrFOd/5r+bqgIhANVJd3T3oc8lwwwMHUz/lksR5SS19StPTNAmANGyuCOX","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQdwUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmot4w//Vp0E18b+tQMmDq7hLK2j6dB34Q1pgbf0biAia6kteEGNBYin\r\nH5qkHLywTjJ7q4e5fqExqLZqh6PKEySLeBAJhuoZ6pePYVVNuHrnRO76I8EW\r\nulpdNsSRSkIl4wMgg6vQ/jyGuggbZwmdpY8sp+yr7tL/B0Y/rUeCX1ZSp6hD\r\nBvEONRN0863KWBnBzSbJqWaF/pXef02DD3wThoBjj3Ahu6su7mMmwDxI7T1P\r\n14/rg+iRtwqMM6wrlRCtPb47CRzZ5m5jEhkKf8fXHd8JpBoVEqxvaTkrFoUh\r\nSIK893BI5iVrOKcjEsPQt2DP21LfswsoqXSAPhHyCogmcdNxce/BADgAeSju\r\nXJ1LqIIBWuosW5/DRyIGaciSZtT9zJhdRO2Ny70jcBJlh0EtYl2xPK01ImJn\r\nRjK7Yfr5v0Pf/DKkqfV1Bb/NK+qbK9IX2dd+wPcRPb8Hh+cd99sr3C77WIOx\r\nBu9aXqNoa+gHO3S2qiJYZm1xbAlbThtQ+kpAqOvZgzWNsYNEpyQdmG+u3k0U\r\nYnCGGlUSsDz6SUi2QNzthJn5BssBOQ97pGFvwBvWtQ/g/IXt/LP1uPUDlywW\r\nblNygUgAxUbVeb6ljhEZyqEFetVD+/IPY8VJDCRIIoCsolwrXm3a/dhOPoh0\r\nzXfhlOJfc+43W7M/5zm9YbJA/1LSy/M8k/E=\r\n=cRn5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">=16.9.0"},"gitHead":"8b47c8900523272976d7f0150f2a461d6af515ff","scripts":{"test":"./node_modules/mocha/bin/mocha "},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"6.14.16","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"14.19.0","dependencies":{"sanitize-html":"~2.7.1"},"engineStrict":true,"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.1.5_1665260564265_0.7527622657545063","host":"s3://npm-registry-packages"}},"1.1.6":{"name":"express-xss-sanitizer","version":"1.1.6","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.1.6","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"18689ce1b5fbc5ee8a06d651124711a4d4227989","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.1.6.tgz","fileCount":8,"integrity":"sha512-obCUA6GdHbxeu+TlIKerVzQYGPQ2lQ//V5/Z1gbED3fvSqutjmCT4/DID/Rj51hCexn1em7JSV47/GsRshEFnA==","signatures":[{"sig":"MEYCIQCOyzb53b1JAWQLlIFwOwTDjOaxkmmZEWdQqYJA863+yQIhALYmbd6+WctIup6V9eBC8RT6ft1DdBkIYAnkGdhsRvEH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQdw5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrKSQ//UJVoxt77Ax+BarfMkZKHhzbI5NV65+hdoMRFn3Yc+tYBkd5F\r\n0aS912F4xPPl9kkp7A31B3ehOZXLxlo1zoBiZ5XvcSeVmAd2ZrA1TLJWG3+U\r\njxnKpDCGZYFPD/2rgmx0M8F7Bw6XbEbccc0rH5cdG+7XohtGjePflRIXib//\r\ncmu/ybTd01xdqtaTcKZPy45Jo98daFR8o28wdrYKVvzjKqnIUf6/Nz8qgCqE\r\n6IzcpO6kI6y7hklo9G33LWjz6dffRbOhVy0qYlHDm9G3Ga+7yGRztjD9Zu2C\r\n2FM8h72mz5zrdk3ZyxtfU6KF7rE5JE1fpQtRRu6CY3PKagobjUaOXeBRSYTq\r\nG2acYAXUENnlcOwjt9BqC9gj1k8UlmgW83XpFrJyK6J26J/TvgEg8MHL/uyQ\r\nQF2KPBJTjRvr9348xinLOIrVkX6FtiEhqGTC4KucYJMaTrfBbLw4yy9Oz99V\r\nJAwLBvzvXtkJCGc/TfSJRiSy5AknBIovIyFtH7cUuvk6OkvsMN2iYZ6uJaG9\r\nPEUjrvQMg8he5effKqA2zNjLyoY+IFwKxAnTvy2Z+0pQEx17OdC/HuLA1dQf\r\nq/s+g7lK2aYzqB8ozI+eBn92rGs45pLB/9ld99I5hUIrqxF5V/eQ9mtX2uhb\r\nyDWqKvRzKKvFSYzG2P1paxnlw2gecfwIyWo=\r\n=2h6S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"86617a0fb6a1dee8a636e71cfc5cff3657c91bac","scripts":{"test":"./node_modules/mocha/bin/mocha "},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"6.14.16","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"14.19.0","dependencies":{"sanitize-html":"~2.7.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^7.1.1","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.1.6_1665260601523_0.44719538073122567","host":"s3://npm-registry-packages"}},"1.1.7":{"name":"express-xss-sanitizer","version":"1.1.7","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.1.7","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"6bb5ae09a6d798871779df5f10d0d0bafdbca942","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.1.7.tgz","fileCount":9,"integrity":"sha512-7BvMUzJE96/0/1Zx1e59sNuYqtvDRcDoIU7Gz5Jy5JPqnEtID8BGdnvqoeDbMyMhmOItJ9mL7k7rpfI9fRzD8Q==","signatures":[{"sig":"MEUCIQDnennwDQPZtnxIxSvABwlqMc+zIQo43WeK3AEMwLhZnQIgBp1zgxYoTRytXRb9Anp31HMHkUMqWa/j7ghWbIrIKQQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40142},"main":"index.js","gitHead":"e907198a9aebd2b13683fff2cd153e18fa5fa04b","scripts":{"lint":"eslint . --ext .js","test":"./node_modules/mocha/bin/_mocha","format":"prettier --config .prettierrc './**/*.js' --write","lint:fix":"eslint . --ext .js --fix","test:spec":"npx mocha --reporter spec","preversion":"npm run lint && npm run test","prepublishOnly":"npm run lint"},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"8.19.2","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"sanitize-html":"~2.11.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^10.2.0","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.1.7_1704456269216_0.6307785324512878","host":"s3://npm-registry-packages"}},"1.1.8":{"name":"express-xss-sanitizer","version":"1.1.8","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.1.8","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"2f75e5da74c5431ebae1916846ccb00c03ea8b2b","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.1.8.tgz","fileCount":9,"integrity":"sha512-LEa8zYNg6bQEa71XpAIiYzX2YxA0ah1hpvFI0ae9MMEQn8ADU71OVI6NIa68e4lNMxS42mjDNoL8Kqz0E0KH1A==","signatures":[{"sig":"MEUCIQDZVUOtWbKtN+ilhExxdD85biPycNAd/W1qTWKDLslPeQIgEn/wqdOQzUh4pte+K/o0gq6cxtajHG6HMpK39mda72M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40142},"main":"index.js","gitHead":"5f62556624d640443d09dfc07c5c0558694ce079","scripts":{"lint":"eslint . --ext .js","test":"./node_modules/mocha/bin/_mocha","format":"prettier --config .prettierrc './**/*.js' --write","lint:fix":"eslint . --ext .js --fix","test:spec":"npx mocha --reporter spec","preversion":"npm run lint && npm run test","prepublishOnly":"npm run lint"},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"8.19.2","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"sanitize-html":"~2.11.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^10.2.0","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.1.8_1704456339470_0.9173344577575344","host":"s3://npm-registry-packages"}},"1.1.9":{"name":"express-xss-sanitizer","version":"1.1.9","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.1.9","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"dca45ae01535b5e9113f7f20f8733849591678fd","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.1.9.tgz","fileCount":11,"integrity":"sha512-D/uXqslVKksC2mz+WA9/IfDFntKK2Nxhu7YR1A4DKuN0GVCYy/QJEN+czJIYdhRWwqo6ps2QaCkU9R3EwrgAWA==","signatures":[{"sig":"MEUCIQC/QHMtUERWPTOKKLC2JIlp10UCAJmZy/nMmxoWTKX0ggIgEvxBNTSsoE9+hGbVU2tRmKNSr2NPmhhy9PGTrT/nDF4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41905},"main":"index.js","gitHead":"088ca28bea242042973190ec6b39816e9788cdb2","scripts":{"lint":"eslint . --ext .js","test":"./node_modules/mocha/bin/_mocha","format":"prettier --config .prettierrc './**/*.js' --write","lint:fix":"eslint . --ext .js --fix","test:spec":"npx mocha --reporter spec","preversion":"npm run lint && npm run test","prepublishOnly":"npm run lint"},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"8.19.2","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"sanitize-html":"~2.11.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^10.2.0","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.1.9_1706973360207_0.30037943063533645","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"express-xss-sanitizer","version":"1.2.0","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.2.0","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"3e4a79111e60348c017c60e63f758647d505a591","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.2.0.tgz","fileCount":11,"integrity":"sha512-bQPdhxgBk0JXhaYgc7+PlwLto6Lcziyov1dvnLGhJo5FkSxZv1Sm+3H5GnmPGBq4kdMlDMMZhxFrDHp9wgGAJg==","signatures":[{"sig":"MEYCIQCe5vFRCDis/EbAhZV4bLwSeTPiFb2CczzEveUoFkAmSAIhAOOfHVCo2QaBQeQ2tUxU32cL6+TCbaH/5tov7JSp26k5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41906},"main":"index.js","gitHead":"c646262eb489ce966db282c091e17de9126449aa","scripts":{"lint":"eslint . --ext .js","test":"./node_modules/mocha/bin/_mocha","format":"prettier --config .prettierrc './**/*.js' --write","lint:fix":"eslint . --ext .js --fix","test:spec":"npx mocha --reporter spec","preversion":"npm run lint && npm run test","prepublishOnly":"npm run lint"},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"8.19.2","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"18.12.1","dependencies":{"sanitize-html":"~2.13.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^10.2.0","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.2.0_1711140346129_0.2362817314275103","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"express-xss-sanitizer","version":"1.2.1","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@1.2.1","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"d95826306fd355f56275347d203aa7a3505089f8","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-1.2.1.tgz","fileCount":10,"integrity":"sha512-aV7Qx4xK9dGtLGBw/R+vDWK36RjkCOa22mixiczZHAfvQv6SZtaX78SC4UyIIDq76ZMotBH+krOEojHrnGnWqA==","signatures":[{"sig":"MEUCIQC/VNqt7Q8+Y9JjOR7MwsKZ/yIyhn2GOcVUkD2rL+g7+wIgHTB/jsJZ6E1m5HbzIvZ7BBxgab0//V4e1Kfb/vOPI9E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45312},"main":"index.js","gitHead":"07757519ff44e93c58c9aba8954a06abdc003d74","scripts":{"lint":"eslint . --ext .js","test":"./node_modules/mocha/bin/_mocha","format":"prettier --config .prettierrc './**/*.js' --write","lint:fix":"eslint . --ext .js --fix","test:spec":"npx mocha --reporter spec","preversion":"npm run lint && npm run test","prepublishOnly":"npm run lint"},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"10.8.2","description":"Express 4.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"sanitize-html":"~2.13.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^10.2.0","eslint":"^7.20.0","express":"^4.17.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_1.2.1_1731671895328_0.6724280160139104","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"express-xss-sanitizer","version":"2.0.0","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@2.0.0","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"f95e19c0b263afd39e221b9f975391d361ed73b0","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-2.0.0.tgz","fileCount":11,"integrity":"sha512-C9ZBsm3NuLzUaq7oAtU5Yboj2BQZEuhXShT1/dtUddVSXLPWUxgbpAWvaoDJ2fWH35NBE+/Ardjty9lQofLS8g==","signatures":[{"sig":"MEUCIAO/rDaXYrhXBUl1o0rsWAbNnY5w4Kw4IW6umNu/okIfAiEAqu8gMX5noLks5lQhswukih1GGNltDUTYJ+ZrUsh7Wt0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46353},"main":"index.js","gitHead":"58f447a234d6ef17e8ae52300f49e0efe6c08a29","scripts":{"lint":"eslint . --ext .js","test":"./node_modules/mocha/bin/_mocha","format":"prettier --config .prettierrc './**/*.js' --write","lint:fix":"eslint . --ext .js --fix","test:spec":"npx mocha --reporter spec","preversion":"npm run lint && npm run test","prepublishOnly":"npm run lint"},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"10.8.2","description":"Express 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"sanitize-html":"~2.13.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^10.2.0","eslint":"^7.20.0","express":"^5.0.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_2.0.0_1735401304867_0.373598241908927","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"express-xss-sanitizer","version":"2.0.1","keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","_id":"express-xss-sanitizer@2.0.1","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"dist":{"shasum":"1dfdfefb5d4a9163a7559d91c65457f977bc28a4","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-2.0.1.tgz","fileCount":11,"integrity":"sha512-MxilPbRPkATSi3S+3wM7lw1paFN2hPZmYNf2v9d+gTF+6XwgWSCnsJVtUrEFPzyRvUHKsktBQ3CnFYezObl+BA==","signatures":[{"sig":"MEUCIQCFOMefu6OdIJn8m2Cf9pD9CV5Nsp66+cfEVlybzhBS/QIgaw8nCRG8PrYv6GBhRiwOk1NtIzhPPqg0o10dOCv24mM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":47354},"main":"index.js","gitHead":"62d6542a2a57298da7a2e02de623454007e4f6d6","scripts":{"lint":"eslint . --ext .js","test":"./node_modules/mocha/bin/_mocha","format":"prettier --config .prettierrc './**/*.js' --write","lint:fix":"eslint . --ext .js --fix","test:spec":"npx mocha --reporter spec","preversion":"npm run lint && npm run test","prepublishOnly":"npm run lint"},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"repository":{"url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git","type":"git"},"_npmVersion":"10.9.2","description":"Express 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","directories":{},"_nodeVersion":"22.13.1","dependencies":{"sanitize-html":"~2.13.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^10.2.0","eslint":"^7.20.0","express":"^5.0.1","prettier":"^2.2.1","supertest":"^6.0.1","body-parser":"^1.19.0","eslint-plugin-import":"^2.22.1","eslint-config-prettier":"^7.2.0","eslint-plugin-prettier":"^3.3.1","eslint-config-airbnb-base":"^14.2.1"},"_npmOperationalInternal":{"tmp":"tmp/express-xss-sanitizer_2.0.1_1758890463010_0.5965728816142046","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"express-xss-sanitizer","version":"2.0.2","description":"Express 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","main":"index.js","scripts":{"test":"./node_modules/mocha/bin/_mocha","test:spec":"npx mocha --reporter spec","format":"prettier --config .prettierrc './**/*.js' --write","lint":"eslint . --ext .js","lint:fix":"eslint . --ext .js --fix","prepublishOnly":"npm run lint","preversion":"npm run lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git"},"keywords":["express","koa","middleware","sanitizer","xss","security"],"author":{"name":"Ahmed Adel"},"license":"MIT","bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","dependencies":{"sanitize-html":"~2.13.0"},"devDependencies":{"body-parser":"^1.19.0","chai":"^4.2.0","eslint":"^7.20.0","eslint-config-airbnb-base":"^14.2.1","eslint-config-prettier":"^7.2.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.3.1","express":"^5.0.1","mocha":"^10.2.0","prettier":"^2.2.1","supertest":"^6.0.1"},"gitHead":"0c1f75d41e85dee9309273cb60f71ce943da0f60","_id":"express-xss-sanitizer@2.0.2","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-6SYfX7Q4jagOVuxaExf2J6geM79KQwzluCIEYLEkp0FN40HctzkMxgdyDE0bEDi3KMyQQMOP3nGUZqib5hb13w==","shasum":"a975bb05ed63420091230febce6a149a2872cc2a","tarball":"https://registry.npmjs.org/express-xss-sanitizer/-/express-xss-sanitizer-2.0.2.tgz","fileCount":9,"unpackedSize":48416,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDY2ZZZcxLRpAKs4ybh1Pr/OHy2MjfrV8jIErZxUra71wIgaCPSHaAtjy7D+LaNjQ4Ror9GtCSXjLYBBJKf4vYTVFg="}]},"_npmUser":{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"},"directories":{},"maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/express-xss-sanitizer_2.0.2_1774431047422_0.8501061721096441"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-20T13:51:10.911Z","modified":"2026-03-25T09:30:47.689Z","1.0.0":"2020-11-20T13:51:11.156Z","1.0.1":"2021-02-18T13:46:48.580Z","1.0.2":"2021-02-23T11:49:49.796Z","1.1.0":"2021-02-24T15:59:31.329Z","1.1.1":"2021-07-02T11:48:39.668Z","1.1.2":"2022-08-06T15:53:51.943Z","1.1.3":"2022-09-20T20:15:13.931Z","1.1.4":"2022-10-07T14:55:04.850Z","1.1.5":"2022-10-08T20:22:44.448Z","1.1.6":"2022-10-08T20:23:21.663Z","1.1.7":"2024-01-05T12:04:29.374Z","1.1.8":"2024-01-05T12:05:39.623Z","1.1.9":"2024-02-03T15:16:00.391Z","1.2.0":"2024-03-22T20:45:46.328Z","1.2.1":"2024-11-15T11:58:15.485Z","2.0.0":"2024-12-28T15:55:05.055Z","2.0.1":"2025-09-26T12:41:03.181Z","2.0.2":"2026-03-25T09:30:47.554Z"},"bugs":{"url":"https://github.com/AhmedAdelFahim/express-xss-sanitizer/issues"},"author":{"name":"Ahmed Adel"},"license":"MIT","homepage":"https://github.com/AhmedAdelFahim/express-xss-sanitizer#readme","keywords":["express","koa","middleware","sanitizer","xss","security"],"repository":{"type":"git","url":"git+https://github.com/AhmedAdelFahim/express-xss-sanitizer.git"},"description":"Express 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.","maintainers":[{"name":"ahmedadelfahim","email":"ahmedadelfahim@gmail.com"}],"readme":"# Express XSS Sanitizer\nExpress 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.\n\n[![Build Status](https://img.shields.io/github/forks/AhmedAdelFahim/express-xss-sanitizer.svg?style=for-the-badge)](https://github.com/AhmedAdelFahim/express-xss-sanitizer)\n[![Build Status](https://img.shields.io/github/stars/AhmedAdelFahim/express-xss-sanitizer.svg?style=for-the-badge)](https://github.com/AhmedAdelFahim/express-xss-sanitizer)\n[![Latest Stable Version](https://img.shields.io/npm/v/express-xss-sanitizer.svg?style=for-the-badge)](https://www.npmjs.com/package/express-xss-sanitizer)\n[![License](https://img.shields.io/npm/l/express-xss-sanitizer.svg?style=for-the-badge)](https://www.npmjs.com/package/express-xss-sanitizer)\n[![NPM Downloads](https://img.shields.io/npm/dt/express-xss-sanitizer.svg?style=for-the-badge)](https://www.npmjs.com/package/express-xss-sanitizer)\n[![NPM Downloads](https://img.shields.io/npm/dm/express-xss-sanitizer.svg?style=for-the-badge)](https://www.npmjs.com/package/express-xss-sanitizer)\n## Installation\n```bash\n$ npm install express-xss-sanitizer\n```\n## Usage\nAdd as a piece of express middleware, before defining your routes.\n```javascript\nconst express = require('express');\nconst bodyParser = require('body-parser');\nconst { xss } = require('express-xss-sanitizer');\n\nconst app = express();\n\napp.use(bodyParser.json({limit:'1kb'}));\napp.use(bodyParser.urlencoded({extended: true, limit:'1kb'}));\napp.use(xss());\n```\nYou can add options to control max number of recursion at sanitization to prevent DOS attacks.\n```javascript\nconst options = {\n   maxDepth: 50, // default 100\n}\n\napp.use(xss(options));\n```\nYou can add options to specify allowed keys or allowed attributes to be skipped at sanitization\n```javascript\nconst options = {\n   allowedKeys: ['name'],\n   allowedAttributes: {\n         input: ['value'],\n   },\n}\n\napp.use(xss(options));\n```\nYou can add options to specify allowed tags to sanitize it and remove other tags\n```javascript\nconst options = {\n   allowedTags: ['h1']\n}\n\napp.use(xss(options));\n```\nAdd as a piece of express middleware, before single route.\n```javascript\nconst express = require('express');\nconst bodyParser = require('body-parser');\nconst { xss } = require('express-xss-sanitizer');\n\nconst app = express();\n\napp.use(bodyParser.json({limit:'1kb'}));\napp.use(bodyParser.urlencoded({extended: true, limit:'1kb'}));\napp.post(\"/body\", xss(), function (req, res) {\n      // your code\n});\n\napp.post(\"/test\", function (req, res) {\n      // your code\n});\n```\n__Note:__ if you adding xxs() as application level middleware, the xxs() will sanitize req.body, req.headers and req.query only and for req.params you must add xxs() as route level middleware like below example.\n\n```javascript\nconst express = require('express');\nconst bodyParser = require('body-parser');\nconst { xss } = require('express-xss-sanitizer');\n\nconst app = express();\n\napp.use(bodyParser.json({limit:'1kb'}));\napp.use(bodyParser.urlencoded({extended: true, limit:'1kb'}));\napp.post(\"/params/:val\", xss(), function (req, res) {\n      // your code\n});\n\n```\nYou also can sanitize your data (object, array, string,etc) on the fly.\n```javascript\nconst { sanitize } = require('express-xss-sanitizer');\n\n// ...\n      data = sanitize(data)\n// or\n      data = sanitize(data, {allowedKeys: ['name']})\n// ...\n```\n## For other frameworks\n * [koa-xss-sanitizer](https://www.npmjs.com/package/koa-xss-sanitizer)\n\n## Tests\nTo run the test suite, first install the dependencies, then run `npm test`:\n```bash\n$ npm install\n$ npm test\n```\n## Security\n\n### Reporting Vulnerabilities\nPlease report security issues to [ahmedadelfahim@gmail.com](mailto:ahmedadelfahim@gmail.com)\n\n### Security Updates\n- **v2.0.1**: Fixed unbounded recursion depth vulnerability (CVE-2025-59364)\n## Support\nFeel free to open issues on [github](https://github.com/AhmedAdelFahim/express-xss-sanitizer.git).\n","readmeFilename":"README.md","users":{"jkabore":true}}