{"_id":"@alexandrainst/node-red-http-basic-auth","_rev":"11-c7f015e9404c92701667f8cc026ccb83","name":"@alexandrainst/node-red-http-basic-auth","dist-tags":{"latest":"3.4.0"},"versions":{"2.0.1":{"name":"@alexandrainst/node-red-http-basic-auth","version":"2.0.1","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","rfc2617","rfc7617"],"author":{"url":"https://github.com/Alkarex","name":"Alexandre Alapetite"},"license":"GPL-2.0","_id":"@alexandrainst/node-red-http-basic-auth@2.0.1","maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"contributors":[{"url":"https://github.com/endemecio02","name":"Endemecio Santana"}],"homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"dist":{"shasum":"e4869d3d3c5fb7a8bf6a9196b34e89bff12330b5","tarball":"https://registry.npmjs.org/@alexandrainst/node-red-http-basic-auth/-/node-red-http-basic-auth-2.0.1.tgz","fileCount":18,"integrity":"sha512-LR5b5M9GemAIgHLqoit2KM/aIstSmUVWup3SRC9KT3BvB7GgzJeVwDnXenVKvgfqW+pYLz4LapML/T349X1Kvw==","signatures":[{"sig":"MEUCIQCSNZrQqrAgqt9n4xuLpcuuIlmb5ucaNynzLUlZIGBqgQIgaeRUNnVrZJY4YeTaCPKI42AZsKhto0OlRoJ3BDS4qnY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45372},"engines":{"node":">=12"},"gitHead":"79a1edf938ddcc6fe10acfd4ed5276d4e6c91d43","scripts":{"fix":"npm run eslint_fix","test":"npm run eslint","eslint":"eslint --ext .js,.html .","eslint_fix":"eslint --fix --ext .js,.html ."},"_npmUser":{"name":"alkarex","email":"alexandre@alapetite.fr"},"node-red":{"nodes":{"node-red-http-basic-auth":"nodes/http-auth.js","node-red-http-basic-auth-cred":"nodes/http-auth-cred.js","node-red-http-basic-auth-file":"nodes/http-auth-file.js"}},"repository":{"url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git","type":"git"},"_npmVersion":"9.8.1","description":"Node-RED node for HTTP Basic Authorization","directories":{},"_nodeVersion":"18.18.0","dependencies":{"bcryptjs":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.51.0","eslint-plugin-n":"^16.1.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.28.1","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0"},"optionalDependencies":{"bcrypt":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/node-red-http-basic-auth_2.0.1_1696956833884_0.42956606860841773","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@alexandrainst/node-red-http-basic-auth","version":"2.1.0","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","rfc2617","rfc7617"],"author":{"url":"https://github.com/Alkarex","name":"Alexandre Alapetite"},"license":"GPL-2.0","_id":"@alexandrainst/node-red-http-basic-auth@2.1.0","maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"contributors":[{"url":"https://github.com/endemecio02","name":"Endemecio Santana"}],"homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"dist":{"shasum":"1b7e615ba28f5111f5ae1e56c4bc18d9cc97afc0","tarball":"https://registry.npmjs.org/@alexandrainst/node-red-http-basic-auth/-/node-red-http-basic-auth-2.1.0.tgz","fileCount":18,"integrity":"sha512-V4scLjOPKDtAsF3DFfMsuRiY/eYaTsw5HT9q0tlAICCzwmwHbRZXzj17qLLlHjsvGzObG6gb5Yc6T2bTUgkZWQ==","signatures":[{"sig":"MEQCIDa3CszIuNZq6JA0f/Q+Hsh5hQXHVYVT/TgHnn0HeD76AiAHHXvV+N6+sPYPlVZl/J5Tlfk0TA3BVMGMxxO3b71dkQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45258},"engines":{"node":">=12"},"gitHead":"4a39c3d47eb288ad87f4b7259ec4489dba038222","scripts":{"fix":"npm run eslint_fix","test":"npm run eslint","eslint":"eslint --ext .js,.html .","eslint_fix":"eslint --fix --ext .js,.html ."},"_npmUser":{"name":"alkarex","email":"alexandre@alapetite.fr"},"node-red":{"nodes":{"http-basic-auth":"nodes/http-auth.js","http-basic-auth-cred":"nodes/http-auth-cred.js","http-basic-auth-file":"nodes/http-auth-file.js"},"version":">=12"},"repository":{"url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git","type":"git"},"_npmVersion":"9.8.1","description":"Node-RED node for HTTP Basic Authorization","directories":{},"_nodeVersion":"18.18.0","dependencies":{"bcryptjs":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.51.0","eslint-plugin-n":"^16.1.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.28.1","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0"},"optionalDependencies":{"bcrypt":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/node-red-http-basic-auth_2.1.0_1696977343662_0.2559853737838378","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@alexandrainst/node-red-http-basic-auth","version":"2.2.0","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","rfc2617","rfc7617"],"author":{"url":"https://github.com/Alkarex","name":"Alexandre Alapetite"},"license":"GPL-2.0","_id":"@alexandrainst/node-red-http-basic-auth@2.2.0","maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"contributors":[{"url":"https://github.com/endemecio02","name":"Endemecio Santana"}],"homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"dist":{"shasum":"e4df6d478c676420aad76992102ab51ffe3f45d1","tarball":"https://registry.npmjs.org/@alexandrainst/node-red-http-basic-auth/-/node-red-http-basic-auth-2.2.0.tgz","fileCount":18,"integrity":"sha512-FOEc8ooAhZqUiLoqX73595U0dtCMnXEudBQytkdKyboWo/wrRRyXynf5jutHyOuthqz+B7cMKQ3awmKhhCqS2Q==","signatures":[{"sig":"MEUCIQC48be43m4WI+LpUu42CphQQqJ5FboOoHy05Cj7GlM5OAIgAroS6xQBMX2CDxBYwIyzia5l2jI/OLwtFTcDytlTYTA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45191},"engines":{"node":">=12"},"gitHead":"41ae12b0940bef2b6068286a4b17120ffb39aa76","scripts":{"fix":"npm run eslint_fix","test":"npm run eslint","eslint":"eslint --ext .js,.html .","eslint_fix":"eslint --fix --ext .js,.html ."},"_npmUser":{"name":"alkarex","email":"alexandre@alapetite.fr"},"node-red":{"nodes":{"http-basic-auth":"nodes/http-auth.js","http-basic-auth-cred":"nodes/http-auth-cred.js","http-basic-auth-file":"nodes/http-auth-file.js"},"version":">2"},"repository":{"url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git","type":"git"},"_npmVersion":"9.8.1","description":"Node-RED node for HTTP Basic Authorization","directories":{},"_nodeVersion":"18.18.0","dependencies":{"bcryptjs":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.51.0","eslint-plugin-n":"^16.1.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.28.1","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0"},"optionalDependencies":{"bcrypt":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/node-red-http-basic-auth_2.2.0_1697005980942_0.7173603816885206","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"@alexandrainst/node-red-http-basic-auth","version":"2.2.1","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","rfc2617","rfc7617"],"author":{"url":"https://github.com/Alkarex","name":"Alexandre Alapetite"},"license":"GPL-2.0","_id":"@alexandrainst/node-red-http-basic-auth@2.2.1","maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"contributors":[{"url":"https://github.com/endemecio02","name":"Endemecio Santana"}],"homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"dist":{"shasum":"ea6d837f3111e73c362d9d6cc291cb76a176a492","tarball":"https://registry.npmjs.org/@alexandrainst/node-red-http-basic-auth/-/node-red-http-basic-auth-2.2.1.tgz","fileCount":18,"integrity":"sha512-kxFEvylGtTiqnaxaIkEfaFRh5WCLL+jPdkNGUxSiocZFQvsolYx8qLwT+Iu3z1arMMofZ0iSg73dqQdgEEXr+A==","signatures":[{"sig":"MEUCIC0yRlopzVfRkZeeMjPS6ym5xpPtuk/eRWg1GID/uMukAiEA2kvfETLA+6pnfvi79jun/lzsjFxeU+OgOUSpSakNZQw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45196},"engines":{"node":">=12"},"gitHead":"3247dfcf7ffa2e8fdcf943a4a659adafe11b6205","scripts":{"fix":"npm run eslint_fix","test":"npm run eslint","eslint":"eslint --ext .js,.html .","eslint_fix":"eslint --fix --ext .js,.html ."},"_npmUser":{"name":"alkarex","email":"alexandre@alapetite.fr"},"node-red":{"nodes":{"http-basic-auth":"nodes/http-auth.js","http-basic-auth-cred":"nodes/http-auth-cred.js","http-basic-auth-file":"nodes/http-auth-file.js"},"version":">=2.0.0"},"repository":{"url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git","type":"git"},"_npmVersion":"9.8.1","description":"Node-RED node for HTTP Basic Authorization","directories":{},"_nodeVersion":"18.18.0","dependencies":{"bcryptjs":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.51.0","eslint-plugin-n":"^16.1.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.28.1","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0"},"optionalDependencies":{"bcrypt":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/node-red-http-basic-auth_2.2.1_1697006282346_0.9160435458032519","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"@alexandrainst/node-red-http-basic-auth","version":"2.2.2","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","rfc2617","rfc7617"],"author":{"url":"https://github.com/Alkarex","name":"Alexandre Alapetite"},"license":"GPL-2.0","_id":"@alexandrainst/node-red-http-basic-auth@2.2.2","maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"contributors":[{"url":"https://github.com/endemecio02","name":"Endemecio Santana"}],"homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"dist":{"shasum":"441d00b3383b3d28a899cff41b1f31da2b27218c","tarball":"https://registry.npmjs.org/@alexandrainst/node-red-http-basic-auth/-/node-red-http-basic-auth-2.2.2.tgz","fileCount":19,"integrity":"sha512-WqAp9DfRY8BNImULqrIAVDSfGHiv9uaIIBO+ZofG6xgGQ9JCChsu8kWErjYfdbKu1XnbZonKgm4PmjkvrRqfYQ==","signatures":[{"sig":"MEQCIEqnEtcLLd3oBR1l3eun54HZbr/wgswHGKcLJKcFVDrRAiB8ArVMHGHXNgQHPk7rcjAd1fN4Z1+jzuqvhQHYcFdX9g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45420},"engines":{"node":">=12"},"gitHead":"bc5b6f85f3932fe7069e26afe12314ddaa160cd8","scripts":{"fix":"npm run eslint_fix","test":"npm run eslint","eslint":"eslint --ext .js,.html .","eslint_fix":"eslint --fix --ext .js,.html ."},"_npmUser":{"name":"alkarex","email":"alexandre@alapetite.fr"},"node-red":{"nodes":{"http-basic-auth":"nodes/http-auth.js","http-basic-auth-cred":"nodes/http-auth-cred.js","http-basic-auth-file":"nodes/http-auth-file.js"},"version":">=2.0.0"},"repository":{"url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git","type":"git"},"_npmVersion":"9.8.1","description":"Node-RED node for HTTP Basic Authorization","directories":{},"_nodeVersion":"18.18.0","dependencies":{"bcryptjs":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.51.0","eslint-plugin-n":"^16.1.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.28.1","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0"},"optionalDependencies":{"bcrypt":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/node-red-http-basic-auth_2.2.2_1697012251904_0.6644444201303299","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@alexandrainst/node-red-http-basic-auth","version":"2.3.0","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","rfc2617","rfc7617"],"author":{"url":"https://github.com/Alkarex","name":"Alexandre Alapetite"},"license":"GPL-2.0","_id":"@alexandrainst/node-red-http-basic-auth@2.3.0","maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"contributors":[{"url":"https://github.com/endemecio02","name":"Endemecio Santana"}],"homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"dist":{"shasum":"12a1e4f70e918c988a72af58259ba3db67c3c51d","tarball":"https://registry.npmjs.org/@alexandrainst/node-red-http-basic-auth/-/node-red-http-basic-auth-2.3.0.tgz","fileCount":21,"integrity":"sha512-KuThKjBNv4lLpWG7aSWIv6SQhJ8elDxFlMWd91zvJdeGEkAav+gGH5UIb8ne1C2hZZOicP7l5Brw8UIcBPlfvQ==","signatures":[{"sig":"MEUCICpzi9CYVacUO5n8vIbFzsNiKA9UxUN1p8PkbU0BleI4AiEAq+queWP10zMVDh+MxDBDxgUC4J0ZVs/rdtnUM7vufE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47269},"engines":{"node":">=12"},"gitHead":"62fc9194cab7dd37b1059d04636d6bbd029994c4","scripts":{"fix":"npm run eslint_fix","test":"./test.sh","start":"node ./index.js","eslint":"eslint --ext .js,.html .","pretest":"npm run-script eslint","eslint_fix":"eslint --fix --ext .js,.html ."},"_npmUser":{"name":"alkarex","email":"alexandre@alapetite.fr"},"node-red":{"nodes":{"http-basic-auth":"nodes/http-auth.js","http-basic-auth-cred":"nodes/http-auth-cred.js","http-basic-auth-file":"nodes/http-auth-file.js"},"version":">=2.0.0"},"repository":{"url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git","type":"git"},"_npmVersion":"9.8.1","description":"Node-RED node for HTTP Basic Authorization","directories":{},"_nodeVersion":"18.18.0","dependencies":{"bcryptjs":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.51.0","eslint-plugin-n":"^16.1.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.28.1","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","node-red-contrib-mock-cli":"^1.3.1"},"optionalDependencies":{"bcrypt":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/node-red-http-basic-auth_2.3.0_1697037051949_0.7141063600230542","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@alexandrainst/node-red-http-basic-auth","version":"3.0.0","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","rfc2617","rfc7617"],"author":{"url":"https://github.com/Alkarex","name":"Alexandre Alapetite"},"license":"GPL-2.0","_id":"@alexandrainst/node-red-http-basic-auth@3.0.0","maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"contributors":[{"url":"https://github.com/endemecio02","name":"Endemecio Santana"},{"url":"https://github.com/pjalbuquerque","name":"Paulo Albuquerque"}],"homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"dist":{"shasum":"9dfeb7bf47fc3c775892c95dc112dbe2ac3995ba","tarball":"https://registry.npmjs.org/@alexandrainst/node-red-http-basic-auth/-/node-red-http-basic-auth-3.0.0.tgz","fileCount":21,"integrity":"sha512-J7eSgxUqdxskLnIJHHCdViVaa4cHJF4kMsrP1KamHwKSt59oKP8tZBTF9HegEdYdcBEqurhIra23Ac2kvK+kpw==","signatures":[{"sig":"MEQCIFMXqfg356Ig77Uda2HWJyblc0FtJavBSqKtafFp9YMLAiAA5fYT5aDgN6et0otAESzfSStRmfYyONZTxjDuljEQdQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48373},"engines":{"node":">=12"},"gitHead":"42018e1174a65372c66b482f497647b940c049e7","scripts":{"fix":"npm run eslint_fix","test":"./test.sh","start":"node ./index.js","eslint":"eslint --ext .js,.html .","pretest":"npm run-script eslint","eslint_fix":"eslint --fix --ext .js,.html ."},"_npmUser":{"name":"alkarex","email":"alexandre@alapetite.fr"},"node-red":{"nodes":{"http-basic-auth":"nodes/http-auth.js","http-basic-auth-file":"nodes/http-auth-file.js","http-basic-auth-multiple":"nodes/http-auth-multiple.js"},"version":">=2.0.0"},"repository":{"url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git","type":"git"},"_npmVersion":"9.8.1","description":"Node-RED node for HTTP Basic Authorization","directories":{},"_nodeVersion":"18.18.0","dependencies":{"bcryptjs":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.51.0","eslint-plugin-n":"^16.2.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.28.1","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","node-red-contrib-mock-cli":"^1.4.1"},"optionalDependencies":{"bcrypt":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/node-red-http-basic-auth_3.0.0_1697203881250_0.6791770129572174","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@alexandrainst/node-red-http-basic-auth","version":"3.1.0","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","access","htpasswd","password","rfc2617","rfc7617"],"author":{"url":"https://github.com/Alkarex","name":"Alexandre Alapetite"},"license":"GPL-2.0","_id":"@alexandrainst/node-red-http-basic-auth@3.1.0","maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"contributors":[{"url":"https://github.com/endemecio02","name":"Endemecio Santana"},{"url":"https://github.com/pjalbuquerque","name":"Paulo Albuquerque"}],"homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"dist":{"shasum":"a7a58cd72f854b81aaddfaba8004d197825e2501","tarball":"https://registry.npmjs.org/@alexandrainst/node-red-http-basic-auth/-/node-red-http-basic-auth-3.1.0.tgz","fileCount":21,"integrity":"sha512-+b157EnSk+nVDmZ9XbGU2rx747PuHsXvjM6zgTl2La4MBGU+PXAGvfyvsKM+YQmXo/+TxOdj9sQJsjVy3B8V1A==","signatures":[{"sig":"MEYCIQCBAxdwggQVQuXNed58q21Hzp7Tz/E8GWVF5D2iIWVIvwIhAOtyBQHfb+koaaCkQIifA3k/fb8fIHXgdpHcm+w/Mg/2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49177},"engines":{"node":">=12"},"gitHead":"f621c9282c22255d301aee5f51ae24b466978902","scripts":{"fix":"npm run eslint_fix","test":"./test.sh","start":"node ./index.js","eslint":"eslint --ext .js,.html .","pretest":"npm run-script eslint","eslint_fix":"eslint --fix --ext .js,.html ."},"_npmUser":{"name":"alkarex","email":"alexandre@alapetite.fr"},"node-red":{"nodes":{"http-basic-auth":"nodes/http-auth.js","http-basic-auth-file":"nodes/http-auth-file.js","http-basic-auth-multiple":"nodes/http-auth-multiple.js"},"version":">=2.0.0"},"repository":{"url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git","type":"git"},"_npmVersion":"9.8.1","description":"Node-RED node for HTTP Basic Authorization","directories":{},"_nodeVersion":"18.18.0","dependencies":{"bcryptjs":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.51.0","eslint-plugin-n":"^16.2.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.28.1","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","node-red-contrib-mock-cli":"^1.4.1"},"optionalDependencies":{"bcrypt":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/node-red-http-basic-auth_3.1.0_1697538694127_0.48677933014897157","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"@alexandrainst/node-red-http-basic-auth","version":"3.2.0","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","access","htpasswd","password","rfc2617","rfc7617"],"author":{"url":"https://github.com/Alkarex","name":"Alexandre Alapetite"},"license":"GPL-2.0","_id":"@alexandrainst/node-red-http-basic-auth@3.2.0","maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"contributors":[{"url":"https://github.com/endemecio02","name":"Endemecio Santana"},{"url":"https://github.com/pjalbuquerque","name":"Paulo Albuquerque"}],"homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"dist":{"shasum":"c769b0033041643bca3dbff04c18083edbbb78f1","tarball":"https://registry.npmjs.org/@alexandrainst/node-red-http-basic-auth/-/node-red-http-basic-auth-3.2.0.tgz","fileCount":22,"integrity":"sha512-zDX78xFb2FwdD7JdkY2oLNyPZbyFtpodqOtWPdE+wAk7hiMilD8+o/6QsLNqAz4EBQh2ydYmRumGUZzqvSR+zA==","signatures":[{"sig":"MEQCIByYSpHz/vzCs2C1bbn8XZlWUYq8kfq9N5Uk43ERECU8AiBHkPcKwwh2UfiicuE3jt1dJcEyGG1CbFFogVxXotzOUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50676},"engines":{"node":">=12"},"gitHead":"d75b7e250f7c87f7b224c2b12eac7caf183f1937","scripts":{"fix":"npm run eslint_fix","test":"./test.sh","start":"node ./index.js","eslint":"eslint --ext .js,.html .","pretest":"npm run-script eslint","eslint_fix":"eslint --fix --ext .js,.html ."},"_npmUser":{"name":"alkarex","email":"alexandre@alapetite.fr"},"node-red":{"nodes":{"http-basic-auth":"nodes/http-auth.js","http-basic-auth-file":"nodes/http-auth-file.js","http-basic-auth-multiple":"nodes/http-auth-multiple.js"},"version":">=2.0.0"},"repository":{"url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git","type":"git"},"_npmVersion":"9.8.1","description":"Node-RED node for HTTP Basic Authorization","directories":{},"_nodeVersion":"18.18.2","dependencies":{"bcryptjs":"^2.4.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.53.0","eslint-plugin-n":"^16.3.1","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.29.0","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","node-red-contrib-mock-cli":"^1.4.1"},"optionalDependencies":{"bcrypt":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/node-red-http-basic-auth_3.2.0_1700060959231_0.09411920642310179","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"@alexandrainst/node-red-http-basic-auth","version":"3.3.0","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","access","htpasswd","password","rfc2617","rfc7617"],"author":{"url":"https://github.com/Alkarex","name":"Alexandre Alapetite"},"license":"GPL-2.0","_id":"@alexandrainst/node-red-http-basic-auth@3.3.0","maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"contributors":[{"url":"https://github.com/endemecio02","name":"Endemecio Santana"},{"url":"https://github.com/pjalbuquerque","name":"Paulo Albuquerque"}],"homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"dist":{"shasum":"1f64a3329316a8fc3fa640b060484d6fe0093024","tarball":"https://registry.npmjs.org/@alexandrainst/node-red-http-basic-auth/-/node-red-http-basic-auth-3.3.0.tgz","fileCount":15,"integrity":"sha512-AOr1OifbRW6zGDR994ilk1YqDeRyZdjaXsX41SvnemoBo1HFZSbX5h/wncZStdX2/pY0Q+jW+4X+8uGQwdb/0Q==","signatures":[{"sig":"MEUCID735igDfevRCO9jpVUdm4AF+ufiKQvci3HgkW3KpsH6AiEAqFmAoq8zfK9JFDzayTlO7gZ2Mdc2rEldAXfD0H9mF+g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alexandrainst%2fnode-red-http-basic-auth@3.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47137},"engines":{"node":">=16"},"gitHead":"b64b9601c6efdf9af87356325d04811027220a80","scripts":{"fix":"npm run rtlcss && npm run eslint_fix && npm run markdownlint_fix","test":"./test.sh","start":"node ./index.js","eslint":"eslint .","pretest":"npm run eslint && npm run markdownlint","test-only":"./test.sh","eslint_fix":"eslint --fix .","markdownlint":"markdownlint-cli2","markdownlint_fix":"markdownlint-cli2 --fix"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ef3344c0-c5e4-4d2d-8c58-03da882c2241"}},"node-red":{"nodes":{"http-basic-auth":"nodes/http-auth.js","http-basic-auth-file":"nodes/http-auth-file.js","http-basic-auth-multiple":"nodes/http-auth-multiple.js"},"version":">=3"},"repository":{"url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git","type":"git"},"_npmVersion":"11.16.0","description":"Node-RED node for HTTP Basic Authorization","directories":{},"_nodeVersion":"24.18.0","dependencies":{"bcryptjs":"^3.0.3"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.8.0","globals":"^17.9.0","@eslint/js":"^10.0.1","neostandard":"^0.14.0-next","markdownlint-cli2":"^0.23.2","eslint-plugin-html":"^8.1.4","node-red-contrib-mock-cli":"^1.4.4"},"optionalDependencies":{"bcrypt":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/node-red-http-basic-auth_3.3.0_1786105408134_0.22737632852311118","host":"s3://npm-registry-packages-npm-production"}},"3.4.0":{"name":"@alexandrainst/node-red-http-basic-auth","version":"3.4.0","description":"Node-RED node for HTTP Basic Authorization","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","access","htpasswd","password","rfc2617","rfc7617"],"author":{"name":"Alexandre Alapetite","url":"https://github.com/Alkarex"},"contributors":[{"name":"Endemecio Santana","url":"https://github.com/endemecio02"},{"name":"Paulo Albuquerque","url":"https://github.com/pjalbuquerque"}],"license":"GPL-2.0","repository":{"type":"git","url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git"},"engines":{"node":">=12"},"node-red":{"version":">=2","nodes":{"http-basic-auth":"nodes/http-auth.js","http-basic-auth-file":"nodes/http-auth-file.js","http-basic-auth-multiple":"nodes/http-auth-multiple.js"}},"dependencies":{"bcryptjs":"^3.0.3","node-red-contrib-mock-cli":"^1.5.0"},"optionalDependencies":{"bcrypt":"^6.0.0"},"devDependencies":{"eslint":"^10.8.0","@eslint/js":"^10.0.1","eslint-plugin-html":"^8.1.4","globals":"^17.9.0","markdownlint-cli2":"^0.23.2","neostandard":"^0.14.0-next"},"scripts":{"eslint":"eslint .","eslint_fix":"eslint --fix .","markdownlint":"markdownlint-cli2","markdownlint_fix":"markdownlint-cli2 --fix","fix":"npm run eslint_fix && npm run markdownlint_fix","pretest":"npm run eslint && npm run markdownlint","start":"node ./index.js","test:only":"./test.sh","test":"npm run test:only"},"gitHead":"50f31148a8464c1be9643c209f480ce6ff91fe10","_id":"@alexandrainst/node-red-http-basic-auth@3.4.0","bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-bs2giMmQ2UxUeelH8FBxQ1aCYadOWfEy766nTepVx2h5AI04/Uil1qQWGRhBNmRhUK1xBXj+Pb6GO8SOzJq/Kg==","shasum":"adbca0642e8ef5620c263c54c83d08d54e689a6c","tarball":"https://registry.npmjs.org/@alexandrainst/node-red-http-basic-auth/-/node-red-http-basic-auth-3.4.0.tgz","fileCount":15,"unpackedSize":47127,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alexandrainst%2fnode-red-http-basic-auth@3.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC1BIKGcEM65VHm4/VUwudWt4+GBtCsOYisVOu1um1K6AiBm0gof9qwtCY+XXpAQymDAxwD6sOkrLcjNNw+qYl7quQ=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ef3344c0-c5e4-4d2d-8c58-03da882c2241"}},"directories":{},"maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-red-http-basic-auth_3.4.0_1786185036423_0.3486374904213212"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-10T16:53:53.764Z","modified":"2026-08-08T10:30:37.046Z","2.0.1":"2023-10-10T16:53:54.105Z","2.1.0":"2023-10-10T22:35:43.869Z","2.2.0":"2023-10-11T06:33:01.245Z","2.2.1":"2023-10-11T06:38:02.578Z","2.2.2":"2023-10-11T08:17:32.091Z","2.3.0":"2023-10-11T15:10:52.164Z","3.0.0":"2023-10-13T13:31:21.468Z","3.1.0":"2023-10-17T10:31:34.433Z","3.2.0":"2023-11-15T15:09:19.424Z","3.3.0":"2026-08-07T12:23:28.290Z","3.4.0":"2026-08-08T10:30:36.659Z"},"bugs":{"url":"https://github.com/alexandrainst/node-red-http-basic-auth/issues"},"author":{"name":"Alexandre Alapetite","url":"https://github.com/Alkarex"},"license":"GPL-2.0","homepage":"https://github.com/alexandrainst/node-red-http-basic-auth#readme","keywords":["node-red","node-red-contrib","http","basic","auth","authorization","access","htpasswd","password","rfc2617","rfc7617"],"repository":{"type":"git","url":"git+https://github.com/alexandrainst/node-red-http-basic-auth.git"},"description":"Node-RED node for HTTP Basic Authorization","contributors":[{"name":"Endemecio Santana","url":"https://github.com/endemecio02"},{"name":"Paulo Albuquerque","url":"https://github.com/pjalbuquerque"}],"maintainers":[{"name":"alkarex","email":"alexandre@alapetite.fr"},{"name":"jakobl","email":"jakob@langdal.dk"},{"name":"datpete","email":"peter.andersen@alexandra.dk"}],"readme":"# @alexandrainst/node-red-http-basic-auth\n\n[Node-RED](https://nodered.org/) node for HTTP Basic Auth.\n\nThis Node-RED module performs [HTTP Basic authentication](https://developer.mozilla.org/docs/Web/HTTP/Authentication).\nIt is to be used in conjunction with an [HTTP Input node](https://cookbook.nodered.org/http/create-an-http-endpoint).\n\nIn other words, it allows putting a password on a Node-RED HTTP listener node.\n\nNote that this standard protocol sends passwords in plain-text by design, so HTTPS is required to ensure the security of the transmission.\n\nSupports [bcrypt](https://en.wikipedia.org/wiki/Bcrypt) to store passwords on disc\n(such as in the [Apache htpasswd format](https://httpd.apache.org/docs/current/misc/password_encryptions.html)).\nNote that this node will cache the bcrypt checks in memory (until the flow is redeployed / restarted)\nto improve performance (bcrypt is slow by design, to protect passwords on disc).\n\n## Example\n\nExample of flow, with username `test` and password `test`: [`flow.json`](./examples/flow.json)\n\n[![flow.png](images/flow.png)](./examples/flow.json)\n\nCan be tested with e.g.:\n\n```sh\ncurl 'https://test:test@nodered.example.net/basic-auth-demo'\n```\n\n## Config\n\nThere are three types of configuration:\n\n1. *Simple*: each node has its own credentials. (one credential)\n2. *Multiple credentials*: credentials shared with multiple nodes. (multiple credentials)\n3. *File with multiple credentials*: the user credentials are stored in a file. (multiple credentials)\n\n## Definitions\n\n* *Realm*\n\t* Authorization realm for which the credentials will be valid\n\t* Example: `node-red`\n\n* *Username*\n\t* The username\n\t* Example: `alice`\n\n* *Password*\n\t* The password may be in plain-text or hashed (only bcrypt is supported)\n\t* Example in plain-text: `test`\n\t* Example in bcrypt: `$2y$10$5TSZDldoJ7MxDZdtK/SG2O3cwORqLDhHabYlKX9OsM.W/Z/oLwKW6`\n\n* *File*\n\t* Location of the file containing the credentials relative to the presently working directory\n\t* Example: `/data/.htpasswd`\n\t* The format for each line is `username:password`\n\n</dl>\n\nExample of file: (see also [Apache `htpasswd`](https://httpd.apache.org/docs/current/programs/htpasswd.html))\n\n```plain\nuser1:test\nuser2:$2y$10$5TSZDldoJ7MxDZdtK/SG2O3cwORqLDhHabYlKX9OsM.W/Z/oLwKW6\n```\n\n## Outputs\n\nThe first node output is used when the authentication succeeded, and it contains the username:\n\n```json\n\"msg\": {\n\t\"realm\": \"node-red\",\n\t\"username\": \"alice\",\n\t\"req\": \"...\",\n\t\"res\": \"...\",\n\t\"...\": \"...\"\n}\n```\n\nThe second node output is used when the authentication failed, and it contains error information:\n\n```json\n\"msg\": {\n\t\"realm\": \"node-red\",\n\t\"username\": \"\",\n\t\"authError\": \"Unknown user 'test'\",\n\t\"req\": \"...\",\n\t\"res\": \"...\",\n\t\"...\": \"...\"\n}\n```\n\nBoth outputs contain the `req` object, which can be inspected for detailed information about HTTP request headers, IP address, URL, etc.\n\n## Hints\n\nHere are examples to create hashed passwords:\n\n### In Linux Debian / Ubuntu command line\n\n```sh\nsudo apt install apache2-utils\nhtpasswd -nbB -C 10 '' 'my-password' | cut -d: -f2\n```\n\n### With Node.js\n\n```sh\nnpm install bcryptjs\nnode -e \"console.log(require('bcryptjs').hashSync('my-password', 10));\"\n```\n\n## Credits\n\nForked from [endemecio02/node-red-contrib-httpauth](https://github.com/endemecio02/node-red-contrib-httpauth) (abandoned)\nby [Alexandre Alapetite](https://github.com/Alkarex) for the [Alexandra Institute](https://alexandra.dk/), October 2023.\n","readmeFilename":"README.md"}