{"_id":"0-dd-trace-init-first-datadog-enabled","_rev":"1-de82b348f5ac7335126173c6c872c8f6","name":"0-dd-trace-init-first-datadog-enabled","dist-tags":{"latest":"1.1.1"},"versions":{"1.1.1":{"name":"0-dd-trace-init-first-datadog-enabled","version":"1.1.1","description":"A package that initializes dd trace when the `DATADOG_ENABLED true` is an environment variable, (and is lexographically superior, so that it is sorted to be \"first\")","main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/dave-inc/-dd-trace-init-first-production.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"tsc --declaration index.ts"},"keywords":["dd-trace","init"],"author":{"name":"McKay Salisbury"},"license":"MIT","peerDependencies":{"dd-trace":">= 0.9.1"},"dependencies":{},"gitHead":"76d230f5235353d34fa013598c817545d6beec12","bugs":{"url":"https://github.com/dave-inc/-dd-trace-init-first-production/issues"},"homepage":"https://github.com/dave-inc/-dd-trace-init-first-production#readme","_id":"0-dd-trace-init-first-datadog-enabled@1.1.1","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-3T+SmM+44W3HaA2eJDiLGeaBQHMrxe/9QnpW/54+FVi/UasR+p3Sj9ilAglYaTgWJbtYD3ZHEoUpK6fEs9E1Yg==","shasum":"612336880fd22668c1e5bdb70978e1c295f7d790","tarball":"https://registry.npmjs.org/0-dd-trace-init-first-datadog-enabled/-/0-dd-trace-init-first-datadog-enabled-1.1.1.tgz","fileCount":5,"unpackedSize":2279,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2osGCRA9TVsSAnZWagAAR64P+wXmkjt1IcF64laGZgF9\nJKA0KwQkyj6zCOrdLLE9V6vVdBH+MCKg+7FsjCUxbN8bbhTRdnzI9GHVcL5a\nm1qUzYJ/B68GjeQ3FStIwzW9rwxp8wYjq0IJJF3v5Pc4Uy9Bk+5f9fYPTCu+\n8c4zl+nWEWka1zgdPhJ6WwnZFB/wEV9ANqCo3cbgr1biGyOOCFiSRENc6290\n+iUiBmc+Jn9Ab3V9tv3AUzYaOFioBUScmGoF82WXMv8gNpftjq4awodetf+a\nk2ucyY8XI3lQu3BOYeuXr1HeNEX/jTESbf9j5kY9nXU5GuCtY7lQsb6SPhND\nu/1e4z69acWBXwyXrmwnaX8bB5SjxPh8I3Ohnm7XkHO8aH/YctmiLwW8wmfV\nzJM2Fx62JUVP8oLdbZmqCwpCdjkPDjuXvWMvRm/iZSHOgO5R6icYWWfsNq2I\nWg93EaXZVNkcd3Um0z5YPs3ekYEWoxSbs1o3pgeOt5JbxknN8lGavvvHDm5n\nHweRuuyTx2INv2LfRgmnxsv4fgwH9ncJDNmgFrljjDOEcdAcjQ7S4bQq9DVW\nvpECjzcynmpq3SyzGzWJE1FricRtMPCJr+Kz2asOFqRgAa8Rx5GwhtDTXTIR\n/LxKNyRtZOoBTsSL+E7h/Yn2rlHg25ZYEbt9dUhk+MlUmoYwSGGOHeYCZCw3\nOSPF\r\n=dkbJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgivKUkufhOTYZuRD6FPoFTVjXtyC4aGPAiVv6Mp8lkgIhAJfVbiy0q21aSkUX1noei2OseN5Tuv/YgMxxXUnik9aP"}]},"maintainers":[{"name":"mckaysalisbury","email":"mckaysalisbury@hotmail.com"}],"_npmUser":{"name":"mckaysalisbury","email":"mckaysalisbury@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/0-dd-trace-init-first-datadog-enabled_1.1.1_1591380742075_0.30167010497004787"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-05T18:12:22.074Z","1.1.1":"2020-06-05T18:12:22.368Z","modified":"2022-04-04T10:06:13.732Z"},"maintainers":[{"name":"mckaysalisbury","email":"mckaysalisbury@hotmail.com"}],"description":"A package that initializes dd trace when the `DATADOG_ENABLED true` is an environment variable, (and is lexographically superior, so that it is sorted to be \"first\")","homepage":"https://github.com/dave-inc/-dd-trace-init-first-production#readme","keywords":["dd-trace","init"],"repository":{"type":"git","url":"git+https://github.com/dave-inc/-dd-trace-init-first-production.git"},"author":{"name":"McKay Salisbury"},"bugs":{"url":"https://github.com/dave-inc/-dd-trace-init-first-production/issues"},"license":"MIT","readme":"A package that initializes dd trace when the environment is production, (and is\nlexographically superior, so that it is sorted to be \"first\").\n\n# Usage\nTo use this package, import or require it.\n\n    import '0-dd-trace-init-first-production';\n\n# Naming\n\n* `0-` - beginning with a `-` is slightly prefered to me, but npmjs.com doesn't\n  allow it. It just errors with a 404 if you try, so it might be a bug, but my\n  gut says it's intentional. It's not consistent with the npm package though.\n  Note that `0-` is lexographically superior to `00000-`. `0-` is the most\n  lexographically superior prefix for an npmjs.com package.\n* `dd-trace` - It's a `dd-trace` lib at heart, so it's got `dd-trace` in it.\n* `init` - It runs the `init()` method.\n* `first` - This is kind of redundant with the `0-` prefix, but this should\n  remind developers that it belongs at the first, in case someone decides to\n  name their package `0--a` or something silly that is more superior. I admit\n  that this solution isn't perfect, it's just [more\n  perfect](https://en.wikisource.org/wiki/Constitution_of_the_United_States_of_America)\n  than anything else I can think of.\n* `production` - It only runs `init()` if the node env is production. Someone\n  might want a `0-dd-trace-init-first` that runs always or something.\n","readmeFilename":"README.md"}