{"_id":"@opencensus/web-types","_rev":"2917155","name":"@opencensus/web-types","description":"OpenCensus Web types is a slightly-patched copy of the `types.ts` files from `@opencensus/core` so that they can be easily imported in web-specific packages.","dist-tags":{"latest":"0.0.7"},"maintainers":[{"name":"google-admin","email":""},{"name":"google-wombot","email":""},{"name":"isaikevych","email":""},{"name":"kjin","email":""},{"name":"mayurkale22","email":""},{"name":"ofrobots","email":""}],"time":{"modified":"2023-02-01T08:59:46.000Z","created":"2019-04-26T17:58:47.154Z","0.0.7":"2019-09-10T00:58:03.403Z","0.0.6":"2019-08-27T01:47:10.288Z","0.0.5":"2019-08-09T15:41:07.112Z","0.0.4":"2019-08-08T11:47:46.506Z","0.0.3":"2019-06-08T19:31:58.737Z","0.0.2":"2019-04-29T18:18:22.908Z","0.0.1":"2019-04-26T17:58:47.154Z"},"users":{},"author":{"name":"OpenCensus Authors"},"repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-web.git"},"versions":{"0.0.7":{"name":"@opencensus/web-types","version":"0.0.7","description":"OpenCensus Web types is a slightly-patched copy of the `types.ts` files from `@opencensus/core` so that they can be easily imported in web-specific packages.","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"npm run compile","clean":"rimraf build/*","copytypes":"node scripts/copy-types.js 'v0.0.13' && npm run fix","check":"gts check","compile":"tsc -p .","fix":"gts fix","test":"npm run compile && npm run check","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check"},"repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-web.git"},"keywords":["opencensus","browser","tracing","profiling","stats","metrics"],"author":{"name":"OpenCensus Authors"},"license":"Apache-2.0","engines":{"node":">=6.0"},"publishConfig":{"access":"public"},"devDependencies":{"gts":"^1.0.0","rimraf":"^3.0.0","typescript":"^3.1.6"},"sideEffects":false,"contributors":[{"name":"Google LLC"}],"bugs":{"url":"https://github.com/census-instrumentation/opencensus-web/issues"},"homepage":"https://github.com/census-instrumentation/opencensus-web#readme","_id":"@opencensus/web-types@0.0.7","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"shasum":"4426de1fe5aa8f624db395d2152b902874f0570a","size":22778,"noattachment":false,"key":"/@opencensus/web-types/-/@opencensus/web-types-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opencensus/web-types/download/@opencensus/web-types-0.0.7.tgz"},"maintainers":[{"name":"google-admin","email":""},{"name":"google-wombot","email":""},{"name":"isaikevych","email":""},{"name":"kjin","email":""},{"name":"mayurkale22","email":""},{"name":"ofrobots","email":""}],"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-types_0.0.7_1568077083265_0.9224434296228294"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T04:11:56.325Z","publish_time":1568077083403,"_cnpm_publish_time":1568077083403},"0.0.6":{"name":"@opencensus/web-types","version":"0.0.6","description":"OpenCensus Web types is a slightly-patched copy of the `types.ts` files from `@opencensus/core` so that they can be easily imported in web-specific packages.","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"npm run compile","clean":"rimraf build/*","copytypes":"node scripts/copy-types.js 'v0.0.13' && npm run fix","check":"gts check","compile":"tsc -p .","fix":"gts fix","test":"npm run compile && npm run check","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check"},"repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-web.git"},"keywords":["opencensus","browser","tracing","profiling","stats","metrics"],"author":{"name":"OpenCensus Authors"},"license":"Apache-2.0","engines":{"node":">=6.0"},"publishConfig":{"access":"public"},"devDependencies":{"gts":"^1.0.0","rimraf":"^3.0.0","typescript":"^3.1.6"},"sideEffects":false,"contributors":[{"name":"Google LLC"}],"bugs":{"url":"https://github.com/census-instrumentation/opencensus-web/issues"},"homepage":"https://github.com/census-instrumentation/opencensus-web#readme","_id":"@opencensus/web-types@0.0.6","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"shasum":"1f80b7ff3d3b2779559e5f53f46a38223a096aff","size":22779,"noattachment":false,"key":"/@opencensus/web-types/-/@opencensus/web-types-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opencensus/web-types/download/@opencensus/web-types-0.0.6.tgz"},"maintainers":[{"name":"google-admin","email":""},{"name":"google-wombot","email":""},{"name":"isaikevych","email":""},{"name":"kjin","email":""},{"name":"mayurkale22","email":""},{"name":"ofrobots","email":""}],"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-types_0.0.6_1566870430139_0.9191298864904023"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T04:11:55.223Z","publish_time":1566870430288,"_cnpm_publish_time":1566870430288},"0.0.5":{"name":"@opencensus/web-types","version":"0.0.5","description":"OpenCensus Web types is a slightly-patched copy of the `types.ts` files from `@opencensus/core` so that they can be easily imported in web-specific packages.","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"npm run compile","clean":"rimraf build/*","copytypes":"node scripts/copy-types.js 'v0.0.13' && npm run fix","check":"gts check","compile":"tsc -p .","fix":"gts fix","test":"npm run compile && npm run check","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check"},"repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-web.git"},"keywords":["opencensus","browser","tracing","profiling","stats","metrics"],"author":{"name":"OpenCensus Authors"},"license":"Apache-2.0","engines":{"node":">=6.0"},"publishConfig":{"access":"public"},"devDependencies":{"gts":"^1.0.0","rimraf":"^2.6.2","typescript":"^3.1.6"},"sideEffects":false,"contributors":[{"name":"Google LLC"}],"bugs":{"url":"https://github.com/census-instrumentation/opencensus-web/issues"},"homepage":"https://github.com/census-instrumentation/opencensus-web#readme","_id":"@opencensus/web-types@0.0.5","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"shasum":"7420ca9cbe2c99a587a66955080df2cef7092d56","size":22784,"noattachment":false,"key":"/@opencensus/web-types/-/@opencensus/web-types-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opencensus/web-types/download/@opencensus/web-types-0.0.5.tgz"},"maintainers":[{"name":"google-admin","email":""},{"name":"google-wombot","email":""},{"name":"isaikevych","email":""},{"name":"kjin","email":""},{"name":"mayurkale22","email":""},{"name":"ofrobots","email":""}],"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-types_0.0.5_1565365266935_0.03157700428750343"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T04:11:53.943Z","publish_time":1565365267112,"_cnpm_publish_time":1565365267112},"0.0.4":{"name":"@opencensus/web-types","version":"0.0.4","description":"OpenCensus Web types is a slightly-patched copy of the `types.ts` files from `@opencensus/core` so that they can be easily imported in web-specific packages.","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"npm run compile","clean":"rimraf build/*","copytypes":"node scripts/copy-types.js 'v0.0.13' && npm run fix","check":"gts check","compile":"tsc -p .","fix":"gts fix","test":"npm run compile && npm run check","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check"},"repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-web.git"},"keywords":["opencensus","browser","tracing","profiling","stats","metrics"],"author":{"name":"OpenCensus Authors"},"license":"Apache-2.0","engines":{"node":">=6.0"},"publishConfig":{"access":"public"},"devDependencies":{"gts":"^1.0.0","rimraf":"^2.6.2","typescript":"^3.1.6"},"sideEffects":false,"contributors":[{"name":"Google LLC"}],"bugs":{"url":"https://github.com/census-instrumentation/opencensus-web/issues"},"homepage":"https://github.com/census-instrumentation/opencensus-web#readme","_id":"@opencensus/web-types@0.0.4","_npmVersion":"6.5.0","_nodeVersion":"9.10.1","_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"dist":{"shasum":"529ea1e3c4c5c9434114d987275c96603db0e288","size":22784,"noattachment":false,"key":"/@opencensus/web-types/-/@opencensus/web-types-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opencensus/web-types/download/@opencensus/web-types-0.0.4.tgz"},"maintainers":[{"name":"google-admin","email":""},{"name":"google-wombot","email":""},{"name":"isaikevych","email":""},{"name":"kjin","email":""},{"name":"mayurkale22","email":""},{"name":"ofrobots","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-types_0.0.4_1565264866397_0.3412073023694824"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T04:11:52.046Z","publish_time":1565264866506,"_cnpm_publish_time":1565264866506},"0.0.3":{"name":"@opencensus/web-types","version":"0.0.3","description":"OpenCensus Web types is a slightly-patched copy of the `types.ts` files from `@opencensus/core` so that they can be easily imported in web-specific packages.","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"npm run compile","clean":"rimraf build/*","copytypes":"node scripts/copy-types.js 'v0.0.13' && npm run fix","check":"gts check","compile":"tsc -p .","fix":"gts fix","test":"npm run compile && npm run check","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check"},"repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-web.git"},"keywords":["opencensus","browser","tracing","profiling","stats","metrics"],"author":{"name":"OpenCensus Authors"},"license":"Apache-2.0","engines":{"node":">=6.0"},"publishConfig":{"access":"public"},"devDependencies":{"gts":"^1.0.0","rimraf":"^2.6.2","typescript":"^3.1.6"},"sideEffects":false,"contributors":[{"name":"Google LLC"}],"bugs":{"url":"https://github.com/census-instrumentation/opencensus-web/issues"},"homepage":"https://github.com/census-instrumentation/opencensus-web#readme","_id":"@opencensus/web-types@0.0.3","_nodeVersion":"11.15.0","_npmVersion":"6.7.0","dist":{"shasum":"39f253ff8f72c0085756c815e68ffacdaf9c5e16","size":22684,"noattachment":false,"key":"/@opencensus/web-types/-/@opencensus/web-types-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opencensus/web-types/download/@opencensus/web-types-0.0.3.tgz"},"maintainers":[{"name":"google-admin","email":""},{"name":"google-wombot","email":""},{"name":"isaikevych","email":""},{"name":"kjin","email":""},{"name":"mayurkale22","email":""},{"name":"ofrobots","email":""}],"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-types_0.0.3_1560022318643_0.8658941508789049"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T04:11:50.224Z","publish_time":1560022318737,"_cnpm_publish_time":1560022318737},"0.0.2":{"name":"@opencensus/web-types","version":"0.0.2","description":"OpenCensus Web types is a slightly-patched copy of the `types.ts` files from `@opencensus/core` so that they can be easily imported in web-specific packages.","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"npm run compile","clean":"rimraf build/*","copytypes":"node scripts/copy-types.js 'v0.0.9' && npm run fix","check":"gts check","compile":"tsc -p .","fix":"gts fix","test":"npm run compile && npm run check","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check"},"repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-web.git"},"keywords":["opencensus","browser","tracing","profiling","stats","metrics"],"author":{"name":"OpenCensus Authors"},"license":"Apache-2.0","engines":{"node":">=6.0"},"publishConfig":{"access":"public"},"devDependencies":{"gts":"^0.9.0","rimraf":"^2.6.2","typescript":"^3.1.6"},"sideEffects":false,"contributors":[{"name":"Google LLC"}],"bugs":{"url":"https://github.com/census-instrumentation/opencensus-web/issues"},"homepage":"https://github.com/census-instrumentation/opencensus-web#readme","_id":"@opencensus/web-types@0.0.2","_nodeVersion":"11.14.0","_npmVersion":"6.7.0","dist":{"shasum":"044d812434427572e4bee3f911f8b61ac08988c2","size":20636,"noattachment":false,"key":"/@opencensus/web-types/-/@opencensus/web-types-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opencensus/web-types/download/@opencensus/web-types-0.0.2.tgz"},"maintainers":[{"name":"google-admin","email":""},{"name":"google-wombot","email":""},{"name":"isaikevych","email":""},{"name":"kjin","email":""},{"name":"mayurkale22","email":""},{"name":"ofrobots","email":""}],"_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-types_0.0.2_1556561902483_0.8685527850940686"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T04:11:46.897Z","publish_time":1556561902908,"_cnpm_publish_time":1556561902908},"0.0.1":{"name":"@opencensus/web-types","version":"0.0.1","description":"OpenCensus Web types is a slightly-patched copy of the `types.ts` files from `@opencensus/core` so that they can be easily imported in web-specific packages.","main":"build/src/index.js","types":"build/src/index.d.ts","scripts":{"build":"npm run compile","clean":"rimraf build/*","copytypes":"node scripts/copy-types.js 'v0.0.9' && npm run fix","check":"gts check","compile":"tsc -p .","fix":"gts fix","test":"npm run compile && npm run check","prepare":"npm run compile","pretest":"npm run compile","posttest":"npm run check"},"repository":{"type":"git","url":"git+https://github.com/census-instrumentation/opencensus-web.git"},"keywords":["opencensus","browser","tracing","profiling","stats","metrics"],"author":{"name":"OpenCensus Authors"},"license":"Apache-2.0","engines":{"node":">=6.0"},"publishConfig":{"access":"public"},"devDependencies":{"gts":"^0.9.0","rimraf":"^2.6.2","typescript":"^3.1.6"},"dependencies":{},"sideEffects":false,"contributors":[{"name":"Google LLC"}],"bugs":{"url":"https://github.com/census-instrumentation/opencensus-web/issues"},"homepage":"https://github.com/census-instrumentation/opencensus-web#readme","_id":"@opencensus/web-types@0.0.1","_npmVersion":"6.5.0","_nodeVersion":"9.10.1","_npmUser":{"name":"google-wombot","email":"node-team-npm+wombot@google.com"},"dist":{"shasum":"8811047187d1e4d8f05325c5cef6f8969e1ab24b","size":20644,"noattachment":false,"key":"/@opencensus/web-types/-/@opencensus/web-types-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opencensus/web-types/download/@opencensus/web-types-0.0.1.tgz"},"maintainers":[{"name":"google-admin","email":""},{"name":"google-wombot","email":""},{"name":"isaikevych","email":""},{"name":"kjin","email":""},{"name":"mayurkale22","email":""},{"name":"ofrobots","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web-types_0.0.1_1556301526987_0.13168420147913595"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T04:11:44.817Z","publish_time":1556301527154,"_cnpm_publish_time":1556301527154}},"readme":"# OpenCensus Web types\n[![Gitter chat][gitter-image]][gitter-url]\n\n*For overview and usage info see the main [OpenCensus Web readme][oc-web-readme-url].*\n\nThis package provides TypeScript interfaces and enums for the OpenCensus core \ntrace and metrics model. These are copied from the OpenCensus Node \n[@opencensus/core][opencensus-core-url] package.\n\nThe library is in alpha stage and the API is subject to change.\n\n## Why not just depend on `@opencensus/core`?\n\nThe `@opencensus/core` package includes some Node-specific dependencies\nthat make it difficult to import in web-specific packages. This will be\nparticularly true once OpenCensus Web supports building with Bazel (see\n[rules_typescript](https://github.com/bazelbuild/rules_typescript) on GitHub).\n\nThis package resolves these dependency issues by copying the `types.ts` and\nsupporting files from the `@opencensus/core`. It also uses a polyfill for the\n`NodeJS.EventEmitter` type to avoid a dependency on the `@types/node` package.\n\nHaving the types copied will also make it easier to adopt a build with using\nBazel (see [rules_typescript][rules-typescript-url]), [Tsickle][tsickle-url],\nand [Closure][closure-url], which would result in more optimized\n(smaller) JS binary sizes.\n\n## How to refresh the types\n\nTo refresh the types for a new release (or a non-released commit) of \n`@opencensus/core`, modify the `copytypes` command in the `package.json` file \nwith the git tag of the new release. You may need to also modify the list of\ncopied files or the patching logic in the `scripts/copy-types.js` file.\n\nThen run `npm run copytypes` to copy the types.\n\n## Usage\n\nCurrently the primary intended usage of OpenCensus Web is to collect\nspans from the resource timing waterfall of an initial page load\nand trace on-page user interactions with a series of features like automatic tracing \nfor *clicks* and *route transitions*, *custom spans*, and browser [Performance API][performance-api] data.\nSee the [OpenCensus Web readme][oc-web-readme-url] for details.\n\nIn the future we would like to support collecting spans for XHRs and other\noperations made after the initial page load and then join those back to the\nResrouce Timing API information for more detailed network timings and events.\n\n## Useful links\n- For more information on OpenCensus, visit: <https://opencensus.io/>\n- For more about OpenCensus Web: <https://github.com/census-instrumentation/opencensus-web>\n- For help or feedback on this project, join us on [gitter][gitter-url]\n\n## License\n\nApache 2.0 - See [LICENSE][license-url] for more information.\n\n[gitter-image]: https://badges.gitter.im/census-instrumentation/lobby.svg\n[gitter-url]: https://gitter.im/census-instrumentation/lobby\n[opencensus-core-url]: https://github.com/census-instrumentation/opencensus-node/tree/master/packages/opencensus-core\n[oc-web-readme-url]: https://github.com/census-instrumentation/opencensus-web/blob/master/README.md\n[license-url]: https://github.com/census-instrumentation/opencensus-web/blob/master/packages/opencensus-web-instrumentation-perf/LICENSE\n[rules-typescript-url]: https://github.com/bazelbuild/rules_typescript\n[tsickle-url]: https://github.com/angular/tsickle\n[closure-url]: https://github.com/google/closure-compiler\n","_attachments":{},"homepage":"https://github.com/census-instrumentation/opencensus-web#readme","bugs":{"url":"https://github.com/census-instrumentation/opencensus-web/issues"},"license":"Apache-2.0"}