{"_id":"@microsoft/typescript-etw","_rev":"96-256cd01d0340f6b47b6f284a704bf8cf","name":"@microsoft/typescript-etw","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.0":{"name":"@microsoft/typescript-etw","version":"0.0.0","keywords":["etw","napi","node"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/typescript-etw@0.0.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/typescript-etw","bugs":{"url":"https://github.com/microsoft/typescript-etw/issues"},"dist":{"shasum":"57869eb795a0313c602b65bf8f864b20bf0ba834","tarball":"https://registry.npmjs.org/@microsoft/typescript-etw/-/typescript-etw-0.0.0.tgz","fileCount":3,"integrity":"sha512-KU0Cx1fBMSX37MXtThY/yPjqOh+Bh3yau2k0SA0PRSVKNTgaerNbiiMTFh3GwBvwwUq6GN4Sx/bF6vrn5Z+AfQ==","signatures":[{"sig":"MEUCIGGioaaySJ7MaXjwkmfS6Oyt0u0Udety96FrGmcVf350AiEAm+KKSEafIKUs9rHTVJyn4lrSHO3afDFZOSCV9X9VUZc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOL1CCRA9TVsSAnZWagAAgDgQAIyOysSYTeL2UA4ifebz\nW/CONl2FTf3r1EphvbG2GXWod1n07j+ozcKt61i1wyNdVl3CnOrpMiByAK7T\nchyh3pKDK/MY6sW2TFsfvffTGXToSKvWLFKiHdO/L9lUXWfRhAoNgUu70s9M\npSCmvoHyItrNAhAbZr2mRyNObd9Cf+6/5XvW+xLeqz9mDK/g3epK67bn5UB2\noHHL+jHUcEuSCQPHJnHFTX743HbV5ZLO86rYgu+c3RKRgaXxErJrVxczJDov\nu/Q22WYRJMi/n+GrIh+9Ae/O5CvnRKqTPtiaCUeg3ELTCPYAhqiKOKr2YO+m\nSyIxs2RDa81+SMjbSUEFfctTG2mt0xcanXzTeOlJUQjTbPMyi7m9vC2turC6\n8i9lsnqbmWAphK64Wp/HMBPXwCKKY2EEG259KoGMl1prJA5b1lpPspMtWEzi\nXplbBbUjQRAXiNWPhE0VQrlrdIcdjCNTZSGVKmJ9sowi+BqOehySj6S6WtHN\nxUrDH/nVtrBWZIvG8aZIblnvKgCxRum6ZJPueceFKyKV09UGaPtUMx9mjEWL\nsciyjd5E0Bh13rjyJ8XHbqM+oEA/9NEvXiPmrQyjvbYuUCNIs7qb70AzYcr8\nOUEZl9mM0XN735bd69YyphoSW5IV+apYdKBbl0gssIf3hATu5jNvavO6hnAD\nb30U\r\n=Ap9d\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"76b8299450f39dcff000d356e1e5ad2404124a68","_npmUser":{"name":"microsoft","email":"npmjs@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoft/typescript-etw.git","type":"git"},"_npmVersion":"6.10.2","description":"ETW logging native Node.js module for the TypeScript project","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typescript-etw_0.0.0_1563999553586_0.6988209105301151","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@microsoft/typescript-etw","version":"0.1.0","keywords":["etw","napi","node"],"author":{"name":"Microsoft"},"license":"MIT","_id":"@microsoft/typescript-etw@0.1.0","maintainers":[{"name":"microsoft","email":"npmjs@microsoft.com"}],"homepage":"https://github.com/microsoft/typescript-etw","bugs":{"url":"https://github.com/microsoft/typescript-etw/issues"},"os":["win32"],"dist":{"shasum":"96c7ee76657520488e3d556a42da857b15427eb9","tarball":"https://registry.npmjs.org/@microsoft/typescript-etw/-/typescript-etw-0.1.0.tgz","fileCount":10,"integrity":"sha512-P6ohPmiIMNH406IGkh95ZSQ3sZhGLF3xPFA9F7/9F4dXT8yV5dBPA297jlRF1ZNjroi3g9pasCM/LoqrxP+SqQ==","signatures":[{"sig":"MEYCIQCTV+rtOFMVCZPp9KwiOForMl+L+GRQVY3KF+oQSoTdGwIhAM7uI803YGM00HaTrgR1EdphrpU+Tx5hHOhAhyzi495+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31714,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOgm6CRA9TVsSAnZWagAA/ZEQAJ7l68pj47bWguQktwjW\nK4tzT3Yce8ydYifOmsQ0mUNaZpWGMHlTh3vEXoI1eFnLqmY7n3zBbsw7avyn\njdDqy8QuG75RNTi7P1yoG4hW9UMn62sY8jI4eiNp21uXVsmtjCc+SY9WQ0FR\nGLU7QIFRKbdAo+rqj98uvoRGGjONtyB7bU1e3cR1LHgNwORh2kBUQnLMG/2V\nIxZ3D1wzWXas4h7aKDebbTszebmNxCuD5CdoecvyTSKQecSB4000SJX8ym2F\nwEQnGn5VhGoCY/VgtNvXPlxVySpJpMqtfYUNNCJZi5xkaIemQc8ulLqUHjYB\nB0wIxjKVJp4WmoJe5N0vnRIaak7rfbRtGeMe+kCEcBsyPvueJZO2XAFzr2Bh\nX0SaDU5590rgDwAo7Ib6IrQxFwwvkR0ltxMgnf6zr80TERot+f5+kkFPXHEz\nVwbuzsoeUMcKD19icK8t0e0JIxw50bChnKcfhe9zj14rR03xEFjiK25rRyfy\n1r/sYMp/Z580x8J47n5hVexyciutYCVzXQqIMpKAif4FTwwo+9knN86RbHIx\n5Ni7M9V6XGMUsWSW+1sWwHp90BF17g+IHJfPFQgJOVsnn/turrFCRHJnhGrG\nNiwhqfP9/EO7z/pIe7q8CkR0uEr3JYp+aTuSVrEJrKZfONMLkqDX9Tn8CYcW\nRZ+y\r\n=OWG9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","engines":{"node":">= 8.9.0"},"gitHead":"76b8299450f39dcff000d356e1e5ad2404124a68","gypfile":true,"scripts":{"install":"node-gyp rebuild"},"_npmUser":{"name":"mrcrane","email":"micran@microsoft.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","repository":{"url":"git+https://github.com/microsoft/typescript-etw.git","type":"git"},"_npmVersion":"6.10.1","description":"ETW logging native Node.js module for the TypeScript project","directories":{},"_nodeVersion":"10.16.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/typescript-etw_0.1.0_1564084666149_0.6211197841307461","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-07-24T20:19:13.586Z","modified":"2026-07-16T15:48:33.147Z","0.0.0":"2019-07-24T20:19:13.748Z","0.1.0":"2019-07-25T19:57:46.323Z"},"bugs":{"url":"https://github.com/microsoft/typescript-etw/issues"},"author":{"name":"Microsoft"},"license":"MIT","homepage":"https://github.com/microsoft/typescript-etw","keywords":["etw","napi","node"],"repository":{"url":"git+https://github.com/microsoft/typescript-etw.git","type":"git"},"description":"ETW logging native Node.js module for the TypeScript project","maintainers":[{"email":"npmjs@microsoft.com","name":"microsoft1es"},{"email":"microsoft-oss-publishing@microsoft.com","name":"microsoft-oss-releases"},{"email":"micran@microsoft.com","name":"mrcrane"}],"readme":"# @microsoft/typescript-etw\r\n\r\n**@microsoft/typescript-etw** is a native Node.js module for logging ETW events for the TypeScript project.\r\n\r\n## Compatibility\r\n\r\nETW is a Windows technology, so this module only works on Windows (Win7 or later). The module is built using the N-API interface and works on Node.js 8.9 or later. (See https://nodejs.org/docs/v8.9.0/api/n-api.html)\r\n\r\n## Installing\r\n\r\nInstall from npm via: `npm install @microsoft/typescript-etw`\r\n\r\nSince this dependency only supports Windows, consider using the `--save-optional` flag to add this as an optional dependency or `--no-save` to omit this as a listed dependency altogether.\r\n\r\nThe module will build from source using node-gyp. Use the flag `--target_arch=ia32` or `--target_arch=x64` to target a specific architecture.\r\n\r\nIf you would like to take advantage of types for this package information, install them from DefinitelyTyped via: `npm install @types/microsoft__typescript-etw --save-dev`\r\n\r\nThis will allow you to compile your code with types even if the optional dependency was not installed.\r\n\r\n## Usage\r\n\r\nBe aware that calling `require` on this package may return `undefined` if it fails the compatibility checks in `index.js`. It may also throw an exception if it is an optional dependency that is not installed. This example shows a way to `require` this module that accounts for both cases:\r\n\r\n```javascript\r\nvar etw;\r\ntry {\r\n    etw = require('typescript-etw');\r\n} catch (e) {\r\n    // Optional package not found\r\n    etw = undefined;\r\n}\r\n```\r\n\r\nThen you can log events conditionally:\r\n\r\n```javascript\r\nif (etw) etw.logInfoEvent('message');\r\n```\r\n\r\n## Misc\r\n\r\nSee the `notes.txt` file for details on the implementation, TODOs, etc.\r\n\r\n## Contributing\r\n\r\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a\r\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\r\nthe rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.\r\n\r\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide\r\na CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions\r\nprovided by the bot. You will only need to do this once across all repos using our CLA.\r\n\r\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\r\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\r\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\r\n","readmeFilename":"README.md"}