{"_id":"@ahmadnassri/debug","_rev":"11-6590abcc0c1dc452922e1a35dda99187","name":"@ahmadnassri/debug","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"@ahmadnassri/debug","version":"1.0.0","keywords":["debug","regex"],"author":{"url":"https://www.ahmadnassri.com/","name":"Ahmad Nassri","email":"ahmad@ahmadnassri.com"},"license":"ISC","_id":"@ahmadnassri/debug@1.0.0","maintainers":[{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"}],"homepage":"https://github.com/ahmadnassri/node-debug","bugs":{"url":"https://github.com/ahmadnassri/node-debug/issues"},"dist":{"shasum":"131d96944d665bba706c972894044cad3cf1ad25","tarball":"https://registry.npmjs.org/@ahmadnassri/debug/-/debug-1.0.0.tgz","integrity":"sha512-1RB0qhWuS9bH/s1jXTISQenvuWzIHN+cmjReZcHw5VUX7zhXyzJLhP9o026uEOdj0kQ7cc9pCJjhP+Jh7P2GFw==","signatures":[{"sig":"MEYCIQDs4sOLsb/cTE85Rx9n87hNeRvKP+c0ktNcz+8y3H04QgIhAMP5fEJHW2lvj5Bl8+Xyn+3N8Oc9bjKaWTDFeupM/wh7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","files":["lib"],"_shasum":"131d96944d665bba706c972894044cad3cf1ad25","engines":{"node":">=4"},"gitHead":"61f7bb3aaa37c2d5758d18aeac1999202c043faf","scripts":{"lint":"standard && echint","test":"tap test","pretest":"npm run lint","coverage":"tap test --reporter silent --coverage"},"_npmUser":{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"},"repository":{"url":"git+https://github.com/ahmadnassri/node-debug.git","type":"git"},"_npmVersion":"4.1.2","description":"Debugging utility using environment regex, matches node core's debugging technique","directories":{},"_nodeVersion":"7.7.4","devDependencies":{"tap":"^10.3.0","echint":"^4.0.1","standard":"^9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/debug-1.0.0.tgz_1490425460523_0.7042936815414578","host":"packages-12-west.internal.npmjs.com"}},"1.0.1":{"name":"@ahmadnassri/debug","version":"1.0.1","keywords":["debug","regex"],"author":{"url":"https://www.ahmadnassri.com","name":"Ahmad Nassri","email":"opensource@ahmadnassri.net"},"license":"MIT","_id":"@ahmadnassri/debug@1.0.1","maintainers":[{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"}],"homepage":"https://github.com/ahmadnassri/node-debug","bugs":{"url":"https://github.com/ahmadnassri/node-debug/issues"},"dist":{"shasum":"843fe421cd8bde0d93c9a97d97121204737589e3","tarball":"https://registry.npmjs.org/@ahmadnassri/debug/-/debug-1.0.1.tgz","fileCount":4,"integrity":"sha512-N90WtIZx8+OH0zMxQ0DvspnHgj7W2k90+1y7HuIfBiuNmxs/LgYfqDBeWVmMEDDg6AtkqY8IJMQ/Sw0xwxISlw==","signatures":[{"sig":"MEUCIGfoFSvKDupCuKuRXXFYR+puDLteYDke1YsiqM4VpBggAiEA+xHOE2Q+wwYAMQjOOXtvGZA6PtIq9oegRtCLzhbJFdM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoNJNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpGphAAmjV2lF7OIciHDGDxCajqK7l43iO7aeqk9IKSD6IwnTaOtFKu\r\n6mJDre7KlaBB0vlp5uwIodz1uHRZwTkOeoNYGuXnvciiici4YpzsVUSuxy29\r\n/ZzzqlE5vdiKOk2EvslcDtFrjENlovLkk0yqP98P6OEsH8JMCblKBBwHnyGU\r\nA/dPYLiBrlL78CfyCpRq8qctLWGYCdAT3Aj1JMd9/eEz7z3AUROEm+eCrigD\r\nsSAp20zerAiT5gCVnFWWv6vFK1dVvbvWigPbgWkK2kxELnW5xNq97qegE0ly\r\nUuNUxtxqORKsTeVj4CP3Zvy690OhbWXObIFo3I42ZpkQ+hSnrFCT7Eq5cSWr\r\n7ATvqbcBYSW+nwm+oz15smPI1k0yRwoabbA+yP8nRJcFQu5wAa5cExw2qQ+3\r\nzR12DT6oeC5WzSR7ckOE09y+ept9s8PSDF56UHuPP8EEcwAJKk/N2ICcN/RL\r\nW6aUDOsDAcUi4parxBMF5A8PsdLYRpEz3jyXL2uvFvtFpSfAix6MhWJq4onn\r\n0PymyK97Tkc+mFw+IPiC2g4/0QxkEHejE9UE7Qr+VIsLGwZYqhRnQ4NRcNAO\r\n+LoCIV7emknbCx9vhndFcPxi7r3TqzhxAdjyet7wYSP7mD2lWE0xUcIUwEty\r\nQcoJopmBZXIGI7DJR7tLAAk7LFIhMODLs1A=\r\n=Fyjv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","engines":{"node":">=14"},"funding":{"url":"https://github.com/sponsors/ahmadnassri","type":"individual"},"gitHead":"4c272cf16a32a2a811eb23ff09c8dc9eae5c06bb","scripts":{"test":"tap test --no-coverage","test:ci":"tap test --100","test:watch":"tap test --watch","test:report":"opener coverage/lcov-report/index.html"},"_npmUser":{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"},"repository":{"url":"git+https://github.com/ahmadnassri/node-debug.git","type":"git"},"_npmVersion":"8.10.0","description":"Debugging utility using environment regex, matches node core's debugging technique","directories":{},"_nodeVersion":"16.17.1","dependencies":{"sinon":"^15.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.3.2"},"_npmOperationalInternal":{"tmp":"tmp/debug_1.0.1_1671483981359_0.18894919597202087","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@ahmadnassri/debug","version":"1.0.2","keywords":["debug","regex"],"author":{"url":"https://www.ahmadnassri.com","name":"Ahmad Nassri","email":"opensource@ahmadnassri.net"},"license":"MIT","_id":"@ahmadnassri/debug@1.0.2","maintainers":[{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"}],"homepage":"https://github.com/ahmadnassri/node-debug","bugs":{"url":"https://github.com/ahmadnassri/node-debug/issues"},"dist":{"shasum":"f2c12b06e51c4f1f5c7af4f1405cf545bb2e393e","tarball":"https://registry.npmjs.org/@ahmadnassri/debug/-/debug-1.0.2.tgz","fileCount":4,"integrity":"sha512-PcRxqill9P84xJrvqdkef6W5YhOiNm0kErQeO3tUOtwu40XnupP6E8ITUPPEX+G+Dj+J2oS+cw0NkVuuvk9Dag==","signatures":[{"sig":"MEQCIA5oumTIf6wnYeUhtEsVnjYpGKKBwwO2a6u77fz/VFpLAiBk/FRIKwIUyDvnM+wdrGVMqM3cLeuNWXTpj5p9z8SKXg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjsvWuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRUw//Z4cpkioFaVxFSbku+uOy6k3kraaNcW4uTHviDA9bo4S4cstJ\r\nv5e6JX3XGnP+Pe1bs++ld6PgXRpb5PkXqBQDGflq5X2aV5+3Se6RfS5eWFe/\r\nh1YGysZygd0Zy/4Z3UyfvQSfwtNswcp17m+47qR4gedlqWgViUVvnZV6SJwD\r\nmf2XPnmCSMho48tuBlkcCb1jypEyiWe3iFqRWlo2S3bkSHZUIv/rMzBFDrjJ\r\nT3DYK4Z61KoabkpEdUCttZBMFoyeqa4pPWvJT6oQ88X7u9f3V7mD8XTQfs1m\r\nT5/ZeLHbcGseG7gKdrj6DkxruzRGW3GO9+7G636IsZ8eTRWj2cwryLptBlSA\r\nfca5daVjZ26ttdnK1pVvOZbbS0G6Hl5wQOent2XY9cfgs4fgro3bB7lMxu9D\r\nIoGFRBkQ96BtoRdc/D5Q+MExb1trcJJ6K7QltXpK2mm0vKYcvtK8L3/8fzPg\r\nTssmGzSbYgkSNNhuVZn0iO6XDJTATA0APCSihCcxZvq4PabjqsPfBLYDCOvZ\r\nGTnlJZ8duZ0gAlzGYsDtblQOvZOXNHllYupBxK7/W/pC5ZJ6BByT5vGoW5ko\r\ntE/VU+TjzurU2NIwLBHFbD3cP5f1Nf1j32WkYgP0QjW5zMsS1+svCYLchtLR\r\n9O9I/HOCJakBGh7eizYTogskGGY5Om0Pm5g=\r\n=Q6EZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","engines":{"node":">=14"},"funding":{"url":"https://github.com/sponsors/ahmadnassri","type":"individual"},"gitHead":"836b84b75a69a7d34db5adfdab41e462f90ee84a","scripts":{"test":"tap test --no-coverage","test:ci":"tap test --100","test:watch":"tap test --watch","test:report":"opener coverage/lcov-report/index.html"},"_npmUser":{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"},"repository":{"url":"git+https://github.com/ahmadnassri/node-debug.git","type":"git"},"_npmVersion":"8.10.0","description":"Debugging utility using environment regex, matches node core's debugging technique","directories":{},"_nodeVersion":"16.17.1","dependencies":{"sinon":"^15.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.3.2"},"_npmOperationalInternal":{"tmp":"tmp/debug_1.0.2_1672672686153_0.0707769411441832","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@ahmadnassri/debug","version":"1.0.3","keywords":["debug","regex"],"author":{"url":"https://www.ahmadnassri.com","name":"Ahmad Nassri","email":"opensource@ahmadnassri.net"},"license":"MIT","_id":"@ahmadnassri/debug@1.0.3","maintainers":[{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"}],"homepage":"https://github.com/ahmadnassri/node-debug","bugs":{"url":"https://github.com/ahmadnassri/node-debug/issues"},"dist":{"shasum":"474baccbd4db2f0f273057b9ac9887ec139bbf20","tarball":"https://registry.npmjs.org/@ahmadnassri/debug/-/debug-1.0.3.tgz","fileCount":4,"integrity":"sha512-jZ4KHEj2kuOYyTKSiw+l7Ey0lUNB7noS2pjYUHVLt3likCRFAoKah+ss22ExKHckuTmRXobU6EE40Bu9sEYMlw==","signatures":[{"sig":"MEUCIQCS95KscyEJ29JiA0u5W8rhwN9MFsHtGaJUE8PYTfWN2QIgMrGYD+l+xqds/JT/HFnVeZ9qpnRLz4Lvs5ZY06qjjBg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5940},"main":"src/index.js","engines":{"node":">=14"},"funding":{"url":"https://github.com/sponsors/ahmadnassri","type":"individual"},"gitHead":"a60fabbe97ae4a0adebcd0af2bd73ca52f902c73","scripts":{"test":"tap test --no-coverage","test:ci":"tap test --100","test:watch":"tap test --watch","test:report":"opener coverage/lcov-report/index.html"},"_npmUser":{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"},"repository":{"url":"git+https://github.com/ahmadnassri/node-debug.git","type":"git"},"_npmVersion":"9.1.2","description":"Debugging utility using environment regex, matches node core's debugging technique","directories":{},"_nodeVersion":"18.14.2","dependencies":{"sinon":"^15.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.3.2"},"_npmOperationalInternal":{"tmp":"tmp/debug_1.0.3_1686424851732_0.9549437027389369","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@ahmadnassri/debug","version":"1.0.4","keywords":["debug","regex"],"author":{"url":"https://www.ahmadnassri.com","name":"Ahmad Nassri","email":"opensource@ahmadnassri.net"},"license":"MIT","_id":"@ahmadnassri/debug@1.0.4","maintainers":[{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"}],"homepage":"https://github.com/ahmadnassri/node-debug","bugs":{"url":"https://github.com/ahmadnassri/node-debug/issues"},"dist":{"shasum":"2129c712cfeee06bda899baed4765a4d714fbc91","tarball":"https://registry.npmjs.org/@ahmadnassri/debug/-/debug-1.0.4.tgz","fileCount":4,"integrity":"sha512-gSMHBOGAofSrwZ9FVY+soVLYTmpVGaGW8QZnxG6dHtnmLz5Cs7S4s2yKbn0sBH0QzRn9UmxCaAmTE1S+oBJyfQ==","signatures":[{"sig":"MEYCIQDK7x36vYubkZ2j75niAlWNu31DRU7nYoZm+a2jLVOVBAIhAKM8icrHO8hzqjWZ781W0z9zP9rEt9Ks04pERAFuiMt+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5940},"main":"src/index.js","engines":{"node":">=14"},"funding":{"url":"https://github.com/sponsors/ahmadnassri","type":"individual"},"gitHead":"3927254d724a8370c5ceda68d3a6ad5300a3b814","scripts":{"test":"tap test --no-coverage","test:ci":"tap test --100","test:watch":"tap test --watch","test:report":"opener coverage/lcov-report/index.html"},"_npmUser":{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"},"repository":{"url":"git+https://github.com/ahmadnassri/node-debug.git","type":"git"},"_npmVersion":"9.1.2","description":"Debugging utility using environment regex, matches node core's debugging technique","directories":{},"_nodeVersion":"18.14.2","dependencies":{"sinon":"^15.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.3.2"},"_npmOperationalInternal":{"tmp":"tmp/debug_1.0.4_1686579542048_0.11924152335112104","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@ahmadnassri/debug","version":"1.0.5","keywords":["debug","regex"],"author":{"url":"https://www.ahmadnassri.com","name":"Ahmad Nassri","email":"opensource@ahmadnassri.net"},"license":"MIT","_id":"@ahmadnassri/debug@1.0.5","maintainers":[{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"}],"homepage":"https://github.com/ahmadnassri/node-debug","bugs":{"url":"https://github.com/ahmadnassri/node-debug/issues"},"dist":{"shasum":"8b5a83f1ad67041ff39cf316dff37a4a9d3a5d59","tarball":"https://registry.npmjs.org/@ahmadnassri/debug/-/debug-1.0.5.tgz","fileCount":4,"integrity":"sha512-IRPTyhlFGeTYwXV6N/XdUhWnZv1AxhFsbMX/WM6GiwGUJ3ZqfVyNJtUcYqfTvh7r0ffTKN9/6JVhvqQ36wDviA==","signatures":[{"sig":"MEYCIQDdp4nTa8y5W3kazIlIs5DME8i6bRJisryctEs0nKTUrgIhAJF4S6udjcT9U3CFnNaM3A845hStMkdZA84FF+BRES9I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5940},"main":"src/index.js","engines":{"node":">=14"},"funding":{"url":"https://github.com/sponsors/ahmadnassri","type":"individual"},"gitHead":"b7a2e66d169e37473f3ebf18fcb39679ab4be0eb","scripts":{"test":"tap test --no-coverage","test:ci":"tap test --100","test:watch":"tap test --watch","test:report":"opener coverage/lcov-report/index.html"},"_npmUser":{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"},"repository":{"url":"git+https://github.com/ahmadnassri/node-debug.git","type":"git"},"_npmVersion":"9.1.2","description":"Debugging utility using environment regex, matches node core's debugging technique","directories":{},"_nodeVersion":"18.14.2","dependencies":{"sinon":"^15.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.3.2"},"_npmOperationalInternal":{"tmp":"tmp/debug_1.0.5_1686582384433_0.4984669851370942","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@ahmadnassri/debug","version":"1.0.6","keywords":["debug","regex"],"author":{"url":"https://www.ahmadnassri.com","name":"Ahmad Nassri","email":"opensource@ahmadnassri.net"},"license":"MIT","_id":"@ahmadnassri/debug@1.0.6","maintainers":[{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"}],"homepage":"https://github.com/ahmadnassri/node-debug","bugs":{"url":"https://github.com/ahmadnassri/node-debug/issues"},"dist":{"shasum":"9db154eabeef57b4669efafec1de592233e63f21","tarball":"https://registry.npmjs.org/@ahmadnassri/debug/-/debug-1.0.6.tgz","fileCount":4,"integrity":"sha512-ufzHSg0gdZTd/oifOAaMAU50V0F1DA3MjPt+D6x13vQ5CZbmAepobFIIP7s8f48nsdaV/tVqGMIVTFvVv7vdZA==","signatures":[{"sig":"MEYCIQDyzA86xGO8ibmgMu5QFSKmhYetF7KIUEq/6Gs/tl96LQIhAPcS/uo6aQUYfMn3AwqdoHj5GjNykGSKiHcM2TErYBgE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5940},"main":"src/index.js","engines":{"node":">=14"},"funding":{"url":"https://github.com/sponsors/ahmadnassri","type":"individual"},"gitHead":"04ac79c94e6bc3ccc3cdf7c773d3287e5013da75","scripts":{"test":"tap test --no-coverage","test:ci":"tap test --100","test:watch":"tap test --watch","test:report":"opener coverage/lcov-report/index.html"},"_npmUser":{"name":"ahmadnassri","email":"ahmad@ahmadnassri.com"},"repository":{"url":"git+https://github.com/ahmadnassri/node-debug.git","type":"git"},"_npmVersion":"9.1.2","description":"Debugging utility using environment regex, matches node core's debugging technique","directories":{},"_nodeVersion":"18.14.2","dependencies":{"sinon":"^15.0.1"},"_hasShrinkwrap":false,"devDependencies":{"tap":"^16.3.2"},"_npmOperationalInternal":{"tmp":"tmp/debug_1.0.6_1687273480645_0.9738129729709601","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@ahmadnassri/debug","version":"2.0.0","keywords":["debug","regex"],"author":{"url":"https://www.ahmadnassri.com","name":"Ahmad Nassri","email":"opensource@ahmadnassri.net"},"license":"MIT","_id":"@ahmadnassri/debug@2.0.0","maintainers":[{"name":"ahmadnassri","email":"email@ahmadnassri.com"}],"homepage":"https://github.com/ahmadnassri/node-debug","bugs":{"url":"https://github.com/ahmadnassri/node-debug/issues"},"dist":{"shasum":"687377edc0b86660f8e1b1a38429bbb2c05dc168","tarball":"https://registry.npmjs.org/@ahmadnassri/debug/-/debug-2.0.0.tgz","fileCount":5,"integrity":"sha512-2klR5V/2RWi7vmNfM6IVOgYahE+q7PEPuUCqFCArHoL1Rv4l02YyrnQL4FGL7uXZlwYOqKZtsrzOaySa53Rfhw==","signatures":[{"sig":"MEUCIQCGRQPNdM7Eh/EB3JouAFKcdXdeJQV82+KdgUXURgNh5AIgQ6k4JosV9vv9Qmmr0noFdRVHXe4brGqTbuiEIGCybSc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8809},"main":"src/index.js","engines":{"node":">=14"},"funding":{"url":"https://github.com/sponsors/ahmadnassri","type":"individual"},"gitHead":"d9aaeb2b5fab591ee9bce76495e7e41208302b41","scripts":{"test":"npm run test:cli -- test","start":"node src/index.js","test:ci":"npm run test","test:cli":"node --experimental-test-coverage --test","test:watch":"npm run test:cli -- --watch test"},"_npmUser":{"name":"ahmadnassri","email":"email@ahmadnassri.com"},"repository":{"url":"git+https://github.com/ahmadnassri/node-debug.git","type":"git"},"_npmVersion":"10.8.2","description":"Debugging utility using environment regex, matches node core's debugging technique","directories":{},"_nodeVersion":"22.8.0","_hasShrinkwrap":false,"devDependencies":{"sinon":"^15.0.1"},"_npmOperationalInternal":{"tmp":"tmp/debug_2.0.0_1725752947785_0.5689925824348825","host":"s3://npm-registry-packages"}},"2.0.1":{"version":"2.0.1","name":"@ahmadnassri/debug","description":"Debugging utility using environment regex, matches node core's debugging technique","author":{"name":"Ahmad Nassri","email":"opensource@ahmadnassri.net","url":"https://www.ahmadnassri.com"},"homepage":"https://github.com/ahmadnassri/node-debug","repository":{"type":"git","url":"git+https://github.com/ahmadnassri/node-debug.git"},"bugs":{"url":"https://github.com/ahmadnassri/node-debug/issues"},"funding":{"type":"individual","url":"https://github.com/sponsors/ahmadnassri"},"license":"MIT","keywords":["debug","regex"],"engines":{"node":">=14"},"main":"src/index.js","scripts":{"start":"node src/index.js","test":"npm run test:cli -- test","test:cli":"node --experimental-test-coverage --test","test:watch":"npm run test:cli -- --watch test","test:ci":"npm run test"},"devDependencies":{"sinon":"^15.0.1"},"_id":"@ahmadnassri/debug@2.0.1","gitHead":"2b905471c44eeb091344cb8cb6c04e23ad23140d","_nodeVersion":"22.8.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-G54dKcCCr9be7B2BooEAzCYU8MrpsSZtcavXXBm3nzPLbFOgHOfOjxvoTna5z8FuXmSyWw8gqFjmjzQkrhI9ug==","shasum":"32895055499c07f61e915db19ee1e3abcf091a68","tarball":"https://registry.npmjs.org/@ahmadnassri/debug/-/debug-2.0.1.tgz","fileCount":5,"unpackedSize":8809,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWXHdeTTSx0N00nOhtu9T8WZCyHB5jhZMKKhQdriQSuAiEA/dn8sGCkyBfcTDRM/s/Tqwi/cAhnWZkhbQGla0AXzXE="}]},"_npmUser":{"name":"ahmadnassri","email":"email@ahmadnassri.com"},"directories":{},"maintainers":[{"name":"ahmadnassri","email":"email@ahmadnassri.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/debug_2.0.1_1725753112899_0.19683501550123106"},"_hasShrinkwrap":false}},"time":{"created":"2017-03-25T07:04:22.388Z","modified":"2024-09-07T23:51:53.257Z","1.0.0":"2017-03-25T07:04:22.388Z","1.0.1":"2022-12-19T21:06:21.516Z","1.0.2":"2023-01-02T15:18:06.364Z","1.0.3":"2023-06-10T19:20:51.889Z","1.0.4":"2023-06-12T14:19:02.236Z","1.0.5":"2023-06-12T15:06:24.646Z","1.0.6":"2023-06-20T15:04:40.807Z","2.0.0":"2024-09-07T23:49:07.933Z","2.0.1":"2024-09-07T23:51:53.069Z"},"bugs":{"url":"https://github.com/ahmadnassri/node-debug/issues"},"author":{"name":"Ahmad Nassri","email":"opensource@ahmadnassri.net","url":"https://www.ahmadnassri.com"},"license":"MIT","homepage":"https://github.com/ahmadnassri/node-debug","keywords":["debug","regex"],"repository":{"type":"git","url":"git+https://github.com/ahmadnassri/node-debug.git"},"description":"Debugging utility using environment regex, matches node core's debugging technique","maintainers":[{"name":"ahmadnassri","email":"email@ahmadnassri.com"}],"readme":"# Node Debug\n\nDebugging utility using environment regex, matches node core’s debugging technique\n\n[![license][license-img]][license-url]\n[![release][release-img]][release-url]\n[![semantic][semantic-img]][semantic-url]\n\n## Install\n\n``` bash\nnpm install @ahmadnassri/debug\n```\n\n## Usage\n\nFollows the exact same behaviour as [`util.debuglog`][] with some minor differences:\n\n- checks for both `DEBUG` and `NODE_DEBUG` environment variables\n- checks environment variables every time `debuglog()` is called *(vs. on `require`/ `import`)*\n- regex matching in the environment variables\n- no global caching *(you can change the behaviour every time `debuglog()` is called)*\n- optionally include performance time in output\n- optionally include process id in output\n\n### debug(section, options)\n\n| Option    | Type         | Description                        | Default         |\n|-----------|--------------|------------------------------------|-----------------|\n| `section` | `<string>`   | The section name                   |                 |\n| `logger`  | `<Function>` | Custom logger function             | `console.debug` |\n| `pid`     | `<boolean>`  | Include process id in output       | `true`          |\n| `perf`    | `<boolean>`  | Include performance time in output | `false`         |\n\n> Returns: `<Function>` The logging function\n\nThe `debuglog()` method is used to create a function that conditionally writes debug messages to stderr based on the existence of the `DEBUG` or `NODE_DEBUG` environment variables. If the section name appears within the value of that environment variable, then the returned function operates similar to [`console.debug()`][]. If not, then the returned function is a no-op.\n\n### Environment Variables\n\n| Variable       | Description                                                                                      |\n|----------------|--------------------------------------------------------------------------------------------------|\n| `DEBUG`        | A comma-separated list of section names to enable                                                |\n| `NODE_DEBUG`   | A comma-separated list of section names to enable                                                |\n| `DEBUG_COLORS` | Enable/disable colors in output *(will also respect Node's `NO_COLORS` & `NODE_DISABLE_COLORS`)* |\n| `DEBUG_PERF`   | Include/exclude performance time in output *(⚠️ will overwrite `perf` option)*                   |\n| `DEBUG_PID`    | Include/exclude process id in output *(⚠️ will overwrite `pid` option)*                          |\n\n###### Examples\n\n``` js\nconst debuglog = require('@ahmadnassri/debug')\nconst debug = debuglog('foo')\n\ndebug('hello from foo [%d]', 123)\n```\n\nIf this program is run with `DEBUG=foo` or `NODE_DEBUG=foo` in the environment, then it will output something like:\n\n``` plain\nFOO 3245: hello from foo [123]\n```\n\nwhere 3245 is the process id. If it is not run with that environment variable set, then it will not print anything.\n\n#### Multiple Sections\n\nMultiple `section` names may be specified in the environment variable, separated by commas, or spaces.\n\n###### Example\n\n``` shell\nDEBUG=fs,net,tls\n```\n\n#### Regex Matching\n\n`section` names in the environment variable, can also be a regex string:\n\n###### Example\n\n``` js\nconst debuglog = require('@ahmadnassri/debug')\nconst primary = debuglog('foo:primary')\nconst secondary = debuglog('foo:secondary')\n\nprimary('primary logger')\nsecondary('secondary logger')\n```\n\n``` shell\n$ NODE_DEBUG=foo:.* node app.js\n\nFOO:PRIMARY 28382 primary logger\nFOO:SECONDARY 28382 secondary logger\n```\n\n###### Get Fancy\n\n``` shell\n$ DEBUG=\"(F|O)+:.*\" node app.js\n\nFOO:PRIMARY 28274 primary logger\nFOO:SECONDARY 28274 secondary logger\n```\n\n#### remove PID\n\n``` js\nconst debuglog = require('@ahmadnassri/debug')\nconst debug = debuglog('foo', { pid: false })\n\ndebug('hello from foo [%d]', 123)\n```\n\n``` plain\nFOO: hello from foo [123]\n```\n\n#### add Performance Time\n\n``` js\nconst debuglog = require('@ahmadnassri/debug')\nconst debug = debuglog('foo', { perf: true })\n\ndebug('hello from foo [%d]', 123)\n```\n\n``` plain\nFOO 3245 (65ms) hello from foo [123] +0ms\n```\n\n#### Disable Colors\n\n``` shell\n$ DEBUG_COLORS=0 node app.js\n```\n\n#### Disable Performance Time\n\n``` shell\n$ DEBUG_PERF=0 node app.js\n```\n\n  [`util.debuglog`]: https://nodejs.org/api/util.html#utildebuglogsection-callback\n  [`console.debug()`]: https://nodejs.org/api/console.html#consoledebugdata-args\n\n----\n> Author: [Ahmad Nassri](https://www.ahmadnassri.com/) &bull;\n> Twitter: [@AhmadNassri](https://twitter.com/AhmadNassri)\n\n[license-url]: LICENSE\n[license-img]: https://badgen.net/github/license/ahmadnassri/node-debug\n\n[release-url]: https://github.com/ahmadnassri/node-debug/releases\n[release-img]: https://badgen.net/github/release/ahmadnassri/node-debug\n\n[semantic-url]: https://github.com/ahmadnassri/node-debug/actions?query=workflow%3Arelease\n[semantic-img]: https://badgen.net/badge/📦/semantically%20released/blue\n","readmeFilename":"README.md"}