{"_id":"@drcode.ai/drcode-node","_rev":"9-66330df10323c0ea134e765b1b382dd2","name":"@drcode.ai/drcode-node","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"@drcode.ai/drcode-node","version":"1.0.0","keywords":["sentry","error handling","wrapper","logging"],"author":{"name":"Mohd Nadeem","email":"codewithnadeem@gmail.com"},"license":"MIT","_id":"@drcode.ai/drcode-node@1.0.0","maintainers":[{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},{"name":"ashu8894","email":"ashutosh@airia.in"}],"homepage":"https://github.com/airia-in/drcode-package-js#readme","bugs":{"url":"https://github.com/airia-in/drcode-package-js/issues"},"dist":{"shasum":"5797b3251674db41e05fbe90b752e0a053bc11dd","tarball":"https://registry.npmjs.org/@drcode.ai/drcode-node/-/drcode-node-1.0.0.tgz","fileCount":4,"integrity":"sha512-WcaUZDGOuHdxCP7u5SV7Fprwo4Nm8Adnj006q2B+5twJM7T9Ny7vi31p/I1RzHA3uaWMAYHiE5Ktk/gxXgVuuw==","signatures":[{"sig":"MEQCIQD/4LP8ZCp5Bv3gsQ2IP+RUy2MwYTmUF9W/yHl7+9DNTQIfG5h4cw60qIP99RlgNLrGCgnJ1MuxEI9vwT5XcMWjEg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7773},"main":"index.js","types":"index.d.ts","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},"repository":{"url":"git+https://github.com/airia-in/drcode-package-js.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for Sentry that simplifies DSN configuration and error handling.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"@sentry/node":"^8.20.0","@sentry/nextjs":"^8.20.0","@sentry/profiling-node":"^8.20.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/drcode-node_1.0.0_1722505943642_0.8892860720190494","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@drcode.ai/drcode-node","version":"1.0.1","keywords":["sentry","error handling","wrapper","logging"],"author":{"name":"Mohd Nadeem","email":"codewithnadeem@gmail.com"},"license":"MIT","_id":"@drcode.ai/drcode-node@1.0.1","maintainers":[{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},{"name":"ashu8894","email":"ashutosh@airia.in"}],"homepage":"https://github.com/airia-in/drcode-package-js#readme","bugs":{"url":"https://github.com/airia-in/drcode-package-js/issues"},"dist":{"shasum":"ed1451ca32cc8761ad2f7b4a8da69ac10f32baaa","tarball":"https://registry.npmjs.org/@drcode.ai/drcode-node/-/drcode-node-1.0.1.tgz","fileCount":4,"integrity":"sha512-PPenn1IsbOuFInhcVSkDmxuSV4+cXru7DFGilxv9t0X+Hd+gLo3IQevdamGnw7FGeYzZNHruTkqVNAJVmkxujg==","signatures":[{"sig":"MEUCIQCRiCLvBJKvLWglFoT6isfo76Olfs5KQn6136R3qGlxkAIgHVdoQE9i5lK8VkGP49BnhVAPYZGuIYzBAbxepm4d7yE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7777},"main":"index.js","types":"index.d.ts","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},"repository":{"url":"git+https://github.com/airia-in/drcode-package-js.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for Sentry that simplifies DSN configuration and error handling.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"@sentry/node":"^8.20.0","@sentry/nextjs":"^8.20.0","@sentry/profiling-node":"^8.20.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/drcode-node_1.0.1_1722506532400_0.7124008136354578","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@drcode.ai/drcode-node","version":"1.0.2","keywords":["sentry","error handling","wrapper","logging"],"author":{"name":"Ashutosh Renu","email":"ashutosh@airia.in"},"license":"MIT","_id":"@drcode.ai/drcode-node@1.0.2","maintainers":[{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},{"name":"ashu8894","email":"ashutosh@airia.in"}],"homepage":"https://github.com/airia-in/drcode-package-js#readme","bugs":{"url":"https://github.com/airia-in/drcode-package-js/issues"},"dist":{"shasum":"31e3bc3b2ed080fece666ba1e0703fb3a7b3c94d","tarball":"https://registry.npmjs.org/@drcode.ai/drcode-node/-/drcode-node-1.0.2.tgz","fileCount":4,"integrity":"sha512-4uPMeQCESo+THqBNlg75SuAeSq0ptOvYdBG4TmBjmhMHjp0fAbd//r5q5d1f1eyTBuSjWUlmvTNRA0Ul476KGg==","signatures":[{"sig":"MEUCICVOCTh/XUyhaK9ZidYGvk7VFNAawdD30s/uy6vPtlnpAiEAkrS1DfRXTgpp2hkHPi5N2DSVFskRyFiG4nhKFT8uUZk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7772},"main":"index.js","types":"index.d.ts","gitHead":"a0a29d2996e45d5ef76ef0a9e7ec6327553d7bce","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},"repository":{"url":"git+https://github.com/airia-in/drcode-package-js.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for Sentry that simplifies DSN configuration and error handling.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"@sentry/node":"^8.20.0","@sentry/nextjs":"^8.20.0","@sentry/profiling-node":"^8.20.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/drcode-node_1.0.2_1722506780201_0.48481941120369876","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@drcode.ai/drcode-node","version":"1.0.3","keywords":["sentry","error handling","wrapper","logging"],"author":{"name":"Ashutosh Renu","email":"ashutosh@airia.in"},"license":"MIT","_id":"@drcode.ai/drcode-node@1.0.3","maintainers":[{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},{"name":"ashu8894","email":"ashutosh@airia.in"}],"homepage":"https://github.com/airia-in/drcode-package-js#readme","bugs":{"url":"https://github.com/airia-in/drcode-package-js/issues"},"dist":{"shasum":"99d9f9611889a56604781ee4f42d5bed8049109c","tarball":"https://registry.npmjs.org/@drcode.ai/drcode-node/-/drcode-node-1.0.3.tgz","fileCount":4,"integrity":"sha512-9mOQs8lVzGxc7noi92Ce+Ipnr4+2fd61wRb4Jms7wN4NQH1RcfDN3IS9gy06j6/CQIbPrBglBAtw94HAOU5p4A==","signatures":[{"sig":"MEQCIG+yBczJA27iXRAirCPpGQQgmr9iGv44sN/zKnmZaY84AiAuCEbUNBD3ZWO/HYWiyXXr6Mo/zGdfvzNetDvQHVE6sw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8015},"main":"index.js","types":"index.d.ts","gitHead":"a0a29d2996e45d5ef76ef0a9e7ec6327553d7bce","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},"repository":{"url":"git+https://github.com/airia-in/drcode-package-js.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for Sentry that simplifies DSN configuration and error handling.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"@sentry/node":"^8.20.0","@sentry/nextjs":"^8.20.0","@sentry/profiling-node":"^8.20.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/drcode-node_1.0.3_1722508085013_0.9908791633971656","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@drcode.ai/drcode-node","version":"1.0.4","keywords":["sentry","error handling","wrapper","logging"],"author":{"name":"Ashutosh Renu","email":"ashutosh@airia.in"},"license":"MIT","_id":"@drcode.ai/drcode-node@1.0.4","maintainers":[{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},{"name":"ashu8894","email":"ashutosh@airia.in"}],"homepage":"https://github.com/airia-in/drcode-package-js#readme","bugs":{"url":"https://github.com/airia-in/drcode-package-js/issues"},"dist":{"shasum":"8008b0c2f229a08c703eedb6b31736764303b97b","tarball":"https://registry.npmjs.org/@drcode.ai/drcode-node/-/drcode-node-1.0.4.tgz","fileCount":4,"integrity":"sha512-eEQkmzaWv9bThtZMfiRPOExnsKpjE2PP9t0nEHQ/YuO43SKFm4MprVCMtjPsMn+H8dI3hcvSHZ+B1VBqXih07g==","signatures":[{"sig":"MEYCIQDnavhrogtubTcZzoCLV0zmFEsoDFt+tELIj+T+nEfUsQIhAPs+0RFO7ng/a+M3vmHBZ5VFXE9wbs8+dVD1dGJ8XLXm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7863},"main":"index.js","types":"index.d.ts","gitHead":"8307b02866af3beb337035f5dbf02b467a5f2502","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},"repository":{"url":"git+https://github.com/airia-in/drcode-package-js.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for Sentry that simplifies DSN configuration and error handling.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"@sentry/node":"^8.20.0","@sentry/nextjs":"^8.20.0","@sentry/profiling-node":"^8.20.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/drcode-node_1.0.4_1725273994702_0.2615111249865867","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@drcode.ai/drcode-node","version":"1.0.6","keywords":["sentry","error handling","wrapper","logging"],"author":{"name":"Ashutosh Renu","email":"ashutosh@airia.in"},"license":"MIT","_id":"@drcode.ai/drcode-node@1.0.6","maintainers":[{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},{"name":"ashu8894","email":"ashutosh@airia.in"}],"homepage":"https://github.com/airia-in/drcode-package-js#readme","bugs":{"url":"https://github.com/airia-in/drcode-package-js/issues"},"dist":{"shasum":"883ee969683fa9644f33e6e4f2f43493473cb07f","tarball":"https://registry.npmjs.org/@drcode.ai/drcode-node/-/drcode-node-1.0.6.tgz","fileCount":4,"integrity":"sha512-ry+uTrcb3TPgi76Rn2yB3YGFni2yhepvVFI9SbPR6Zrbc0+IiewvZNljMLUUfG2pSAm6Crd2gGSfYxHxGL7JOA==","signatures":[{"sig":"MEQCICBBmQyPxZ6p+ZWfMaPtHsuwEK3XuSfsjNRYay5KMBTrAiB3mzgVX8XmkLCMy5T9sJAMtj2X5IJowQJa4cCBRypj2Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7798},"main":"index.js","types":"index.d.ts","gitHead":"54a41eca55e617e2ba209340ed6f4a4ca5f2c8f7","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},"repository":{"url":"git+https://github.com/airia-in/drcode-package-js.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for Sentry that simplifies DSN configuration and error handling.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"@sentry/node":"^8.20.0","@sentry/nextjs":"^8.20.0","@sentry/profiling-node":"^8.20.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/drcode-node_1.0.6_1725274204642_0.7221907391099212","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@drcode.ai/drcode-node","version":"1.0.7","keywords":["sentry","error handling","wrapper","logging"],"author":{"name":"Ashutosh Renu","email":"ashutosh@airia.in"},"license":"MIT","_id":"@drcode.ai/drcode-node@1.0.7","maintainers":[{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},{"name":"ashu8894","email":"ashutosh@airia.in"}],"homepage":"https://github.com/airia-in/drcode-package-js#readme","bugs":{"url":"https://github.com/airia-in/drcode-package-js/issues"},"dist":{"shasum":"b3e932ccab9d04cd436d1c8f14e39f14ea31011b","tarball":"https://registry.npmjs.org/@drcode.ai/drcode-node/-/drcode-node-1.0.7.tgz","fileCount":4,"integrity":"sha512-XCp4FI9mBcUEfj5KFEf/h1IPIEGawiD2wf4zlQ094Os3KJ8mv/tLuqMpXKrzczScz0Sbf15sAnIVVEIxmKIqFg==","signatures":[{"sig":"MEUCIQCH0j9wk4ahspgwBr7/8xS8s4eS1B1AxZ934GlsOMAtXQIgAcTx1TVpApUj0vLxJiVavIvL1y56D4iMp10JBoSRoO4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7460},"main":"index.js","types":"index.d.ts","gitHead":"b47f6ac31461768deb01318803262345ee765467","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},"repository":{"url":"git+https://github.com/airia-in/drcode-package-js.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for Sentry that simplifies DSN configuration and error handling.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"@sentry/node":"^8.20.0","@sentry/nextjs":"^8.20.0","@sentry/profiling-node":"^8.20.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/drcode-node_1.0.7_1725275298139_0.10012942076572151","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@drcode.ai/drcode-node","version":"1.1.0","keywords":["sentry","error handling","wrapper","logging"],"author":{"name":"Ashutosh Renu","email":"ashutosh@airia.in"},"license":"MIT","_id":"@drcode.ai/drcode-node@1.1.0","maintainers":[{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},{"name":"ashu8894","email":"ashutosh@airia.in"}],"homepage":"https://github.com/airia-in/drcode-package-js#readme","bugs":{"url":"https://github.com/airia-in/drcode-package-js/issues"},"dist":{"shasum":"0921c9e026ad8524063ba2e7b05c6589cb4f68aa","tarball":"https://registry.npmjs.org/@drcode.ai/drcode-node/-/drcode-node-1.1.0.tgz","fileCount":4,"integrity":"sha512-IgoSq8D9guM3gBsmemn29NdIY7R+lZ5FJtS12C1+yOZFH/u6SYR8Pzty0i0HAXpwzkFeTCUkuP3Mi9l8NIVoSA==","signatures":[{"sig":"MEUCIQCT/NruP0zbwMGCgsJfWiAfTp/hhiFANxMoAN/SF5Ip3gIgQi6YU5bwngiIuh0PCxaIh3VL2YW3fCaYCr2RyldBQEs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7416},"main":"index.js","types":"index.d.ts","gitHead":"df5cccc08604044a532db4fab2527750a2b308c4","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},"repository":{"url":"git+https://github.com/airia-in/drcode-package-js.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for Sentry that simplifies DSN configuration and error handling.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"@sentry/node":"^8.20.0","@sentry/nextjs":"^8.20.0","@sentry/profiling-node":"^8.20.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/drcode-node_1.1.0_1726463005174_0.4275440130001682","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@drcode.ai/drcode-node","version":"1.1.1","keywords":["sentry","error handling","wrapper","logging"],"author":{"name":"Ashutosh Renu","email":"ashutosh@airia.in"},"license":"MIT","_id":"@drcode.ai/drcode-node@1.1.1","maintainers":[{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},{"name":"ashu8894","email":"ashutosh@airia.in"}],"homepage":"https://github.com/airia-in/drcode-package-js#readme","bugs":{"url":"https://github.com/airia-in/drcode-package-js/issues"},"dist":{"shasum":"ef61a18ba79d1918300fab18012a5c673883df81","tarball":"https://registry.npmjs.org/@drcode.ai/drcode-node/-/drcode-node-1.1.1.tgz","fileCount":4,"integrity":"sha512-7oOGm8Wvo3AnsrNKQA59MBfSFwOyGEL+BD6tmEWovb6ow6OVNeqxjn8zWulN0kIJrGE4w69bUumegHP+1PwpPA==","signatures":[{"sig":"MEUCIQDzK9j2FaO5KX0WPO63N58ICul85RvHXgqRTLdi1jus0wIgW+TB1qPuO921vt3QdTZuxNPnup4ppoOa2MSMcA4LWsE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7416},"main":"index.js","types":"index.d.ts","gitHead":"39055a2a5c972f86dc400158e0b8274534d7f119","scripts":{"lint":"eslint .","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},"repository":{"url":"git+https://github.com/airia-in/drcode-package-js.git","type":"git"},"_npmVersion":"10.7.0","description":"A wrapper for Sentry that simplifies DSN configuration and error handling.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"@sentry/node":"^8.20.0","@sentry/nextjs":"^8.20.0","@sentry/profiling-node":"^8.20.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/drcode-node_1.1.1_1726465385110_0.43380813949985453","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@drcode.ai/drcode-node","version":"1.1.2","description":"A wrapper for Sentry that simplifies DSN configuration and error handling.","main":"index.js","types":"index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsc","lint":"eslint .","prepublishOnly":"npm run build"},"keywords":["sentry","error handling","wrapper","logging"],"author":{"name":"Ashutosh Renu","email":"ashutosh@airia.in"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/airia-in/drcode-package-js.git"},"homepage":"https://github.com/airia-in/drcode-package-js#readme","dependencies":{"@sentry/nextjs":"^8.20.0","@sentry/node":"^8.20.0","@sentry/profiling-node":"^8.20.0"},"devDependencies":{"@types/express":"^4.17.21","@types/node":"^16.18.108","eslint":"^8.0.0","typescript":"^4.9.5"},"_id":"@drcode.ai/drcode-node@1.1.2","gitHead":"79262d5598b2c9815c34d2ef2ad1aa9c010937f1","bugs":{"url":"https://github.com/airia-in/drcode-package-js/issues"},"_nodeVersion":"21.7.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-NJO16jTC/yb02nA6aKI+d6nfHnVPmr4xczfERkRZPupt8/3xWmTKMl0W8M93xJMTyR0z2FHfPS4KYMkLxiA7kw==","shasum":"221dce60ac552980769bab91befcb50432b8d4c4","tarball":"https://registry.npmjs.org/@drcode.ai/drcode-node/-/drcode-node-1.1.2.tgz","fileCount":5,"unpackedSize":10137,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw+DTqbfD10BVvF4SQPTCgtlU/CvXSw6XvNt7LHxrgfgIhAKR8/UtONyIQfM0SSaKJmNOdzwIEVQBZQ1wEcssWfvw2"}]},"_npmUser":{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},"directories":{},"maintainers":[{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},{"name":"ashu8894","email":"ashutosh@airia.in"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drcode-node_1.1.2_1726466141414_0.802243621448608"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-01T09:52:23.533Z","modified":"2024-09-16T05:55:41.762Z","1.0.0":"2024-08-01T09:52:23.773Z","1.0.1":"2024-08-01T10:02:12.531Z","1.0.2":"2024-08-01T10:06:20.334Z","1.0.3":"2024-08-01T10:28:05.143Z","1.0.4":"2024-09-02T10:46:34.825Z","1.0.6":"2024-09-02T10:50:04.786Z","1.0.7":"2024-09-02T11:08:18.266Z","1.1.0":"2024-09-16T05:03:25.309Z","1.1.1":"2024-09-16T05:43:05.250Z","1.1.2":"2024-09-16T05:55:41.539Z"},"bugs":{"url":"https://github.com/airia-in/drcode-package-js/issues"},"author":{"name":"Ashutosh Renu","email":"ashutosh@airia.in"},"license":"MIT","homepage":"https://github.com/airia-in/drcode-package-js#readme","keywords":["sentry","error handling","wrapper","logging"],"repository":{"type":"git","url":"git+https://github.com/airia-in/drcode-package-js.git"},"description":"A wrapper for Sentry that simplifies DSN configuration and error handling.","maintainers":[{"name":"codewithnadeem","email":"codewithnadeem@gmail.com"},{"name":"ashu8894","email":"ashutosh@airia.in"}],"readme":"<h3 id=\"drcode-wrapper\">drcode-node</h3>\n<p><strong>drcode-node</strong> is a Node.js package that facilitates error tracking and performance monitoring for your applications. Utilizing the DrCode package internally, drcode-node collects and processes application logs to provide detailed insights into errors and performance issues. With this package, you can easily integrate error tracking into your Node.js applications, helping you to maintain optimal performance and quickly address issues.</p>\n<h4 id=\"installation\">Installation</h4>\n<p>To install the package, run:</p>\n<p>bash</p>\n<p>Copy code</p>\n<pre><code class=\"language-const\">npm i @drcode.ai/drcode-node </code></pre>\n\n<h4 id=\"getting-started\">Getting Started</h4>\n<p><strong>Basic Usage</strong></p>\n<p>javascript</p>\n<p>Copy code</p>\n<pre><code class=\"language-const\">\nconst { initDrcode, setUpErrorHandler } = require('@drcode.ai/drcode-node');\nconst express = require('express');\n\nconst config = {\npublicKey: 'yourPublicKey',\nprojectId: 'yourProjectId',\ntracesSampleRate: 1.0, // optional\nprofilesSampleRate: 1.0 // optional\n};\n\n// Initialize drcode-wrapper\ninitDrcode(config);\n\n// Express.js example for setting up error handler\nconst app = express();\n\napp.use(setUpErrorHandler);\n\napp.listen(3000, () => {\nconsole.log('Server is running on port 3000');\n});\n</code></pre>\n\n<h4 id=\"configuration\">Configuration</h4>\n<p><strong>Configuration Object</strong></p>\n<ul>\n<li><code>publicKey</code> (string): The public key for DrCode.</li>\n<li><code>projectId</code> (string): The DrCode project ID.</li>\n<li><code>tracesSampleRate</code> (number, optional): The sample rate for tracing (default: 1.0).</li>\n<li><code>profilesSampleRate</code> (number, optional): The sample rate for profiling (default: 1.0).</li>\n</ul>\n<h4 id=\"api-reference\">API Reference</h4>\n<p><strong>Methods</strong></p>\n<ul>\n<li><p><strong>initDrcode(config: DrCodeConfig): void</strong></p>\n<p>Initializes DrCode with the provided configuration.</p>\n<ul>\n<li><strong>config</strong> (DrCodeConfig): The configuration object.</li>\n</ul>\n</li>\n<li><p><strong>setUpErrorHandler(err: Error, req: any, res: any, next: any): void</strong></p>\n<p>Middleware for capturing exceptions in an Express.js application.</p>\n</li>\n</ul>\n<p><strong>TypeScript Support</strong></p>\n<p>The package includes TypeScript definitions for better developer experience.</p>\n<p><strong>index.d.ts</strong></p>\n<p>typescript</p>\n<p>Copy code</p>\n<pre><code class=\"language-const\"> interface DrCodeConfig {\n\npublicKey: string;\nprojectId: string;\ntracesSampleRate?: number;\nprofilesSampleRate?: number;\n}\n\nexport function initDrcode(config: DrCodeConfig): void;\n\nexport function setUpErrorHandler(\nerr: Error,\nreq: any,\nres: any,\nnext: any\n): void;\n\n</code></pre>\n\n<h4 id=\"license\">License</h4>\n<p>This project is licensed under the MIT License.</p>\n<h4 id=\"version\">Version</h4>\n<p>1.1.2</p>\n","readmeFilename":"README.md"}