{"_id":"@opentelemetry/scope-base","_rev":"2916089","name":"@opentelemetry/scope-base","description":"OpenTelemetry Base Scope Manager","dist-tags":{"latest":"0.4.0"},"maintainers":[{"name":"bogdandrutu","email":""},{"name":"dyladan","email":""},{"name":"npm:bogdandrutu","email":""},{"name":"npm:dyladan","email":""},{"name":"npm:mayurkale22","email":""},{"name":"npm:obecny","email":""}],"time":{"modified":"2023-02-01T08:54:04.000Z","created":"2019-10-08T22:47:31.650Z","0.4.0":"2020-02-05T23:05:22.630Z","0.3.3":"2020-01-22T22:50:21.347Z","0.3.2":"2020-01-03T21:58:57.982Z","0.3.1":"2019-12-21T00:02:23.762Z","0.3.0":"2019-12-13T19:38:58.947Z","0.2.0":"2019-11-04T20:20:58.573Z","0.1.1":"2019-10-15T23:50:48.343Z","0.1.0":"2019-10-08T22:47:31.650Z"},"users":{},"author":{"name":"OpenTelemetry Authors"},"repository":{"type":"git","url":"git+https://github.com/open-telemetry/opentelemetry-js.git"},"versions":{"0.4.0":{"name":"@opentelemetry/scope-base","version":"0.4.0","description":"OpenTelemetry Base Scope Manager","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/open-telemetry/opentelemetry-js.git"},"scripts":{"test":"nyc ts-mocha -p tsconfig.json 'test/**/*.ts'","tdd":"npm run test -- --watch-extensions ts --watch","codecov":"nyc report --reporter=json && codecov -f coverage/*.json -p ../../","clean":"rimraf build/*","check":"gts check","precompile":"tsc --version","version:update":"node ../../scripts/version-update.js","compile":"npm run version:update && tsc -p .","fix":"gts fix","prepare":"npm run compile"},"keywords":["opentelemetry","nodejs","browser","tracing","profiling","metrics","stats"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"^5.2.5","@types/node":"^12.6.8","codecov":"^3.6.1","gts":"^1.1.0","mocha":"^6.1.0","nyc":"^14.1.1","rimraf":"^3.0.0","ts-mocha":"^6.0.0","ts-node":"^8.6.2","tslint-consistent-codestyle":"^1.16.0","tslint-microsoft-contrib":"^6.2.0","typescript":"3.7.2"},"bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","_id":"@opentelemetry/scope-base@0.4.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"mayurkale22","email":"mayurkale22@gmail.com"},"dist":{"shasum":"bec61e9c115fe49191d7a5d7790570460528c99f","size":6849,"noattachment":false,"key":"/@opentelemetry/scope-base/-/@opentelemetry/scope-base-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opentelemetry/scope-base/download/@opentelemetry/scope-base-0.4.0.tgz"},"maintainers":[{"name":"bogdandrutu","email":""},{"name":"dyladan","email":""},{"name":"npm:bogdandrutu","email":""},{"name":"npm:dyladan","email":""},{"name":"npm:mayurkale22","email":""},{"name":"npm:obecny","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scope-base_0.4.0_1580943922530_0.9101257300832799"},"_hasShrinkwrap":false,"publish_time":1580943922630,"deprecated":"Package renamed to @opentelemetry/context-base, see https://github.com/open-telemetry/opentelemetry-js","_cnpm_publish_time":1580943922630,"_cnpmcore_publish_time":"2021-12-16T19:42:01.575Z"},"0.3.3":{"name":"@opentelemetry/scope-base","version":"0.3.3","description":"OpenTelemetry Base Scope Manager","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/open-telemetry/opentelemetry-js.git"},"scripts":{"test":"nyc ts-mocha -p tsconfig.json 'test/**/*.ts'","tdd":"yarn test -- --watch-extensions ts --watch","codecov":"nyc report --reporter=json && codecov -f coverage/*.json -p ../../","clean":"rimraf build/*","check":"gts check","precompile":"tsc --version","version:update":"node ../../scripts/version-update.js","compile":"npm run version:update && tsc -p .","fix":"gts fix","prepare":"npm run compile"},"keywords":["opentelemetry","nodejs","browser","tracing","profiling","metrics","stats"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"^5.2.5","@types/node":"^12.6.8","codecov":"^3.6.1","gts":"^1.1.0","mocha":"^6.1.0","nyc":"^14.1.1","rimraf":"^3.0.0","ts-mocha":"^6.0.0","ts-node":"^8.6.2","tslint-consistent-codestyle":"^1.15.1","tslint-microsoft-contrib":"^6.2.0","typescript":"3.7.2"},"bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","_id":"@opentelemetry/scope-base@0.3.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"mayurkale22","email":"mayurkale22@gmail.com"},"dist":{"shasum":"25eaba4faba8589be4b9adb6db06e38a95f9cacf","size":6850,"noattachment":false,"key":"/@opentelemetry/scope-base/-/@opentelemetry/scope-base-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opentelemetry/scope-base/download/@opentelemetry/scope-base-0.3.3.tgz"},"maintainers":[{"name":"bogdandrutu","email":""},{"name":"dyladan","email":""},{"name":"npm:bogdandrutu","email":""},{"name":"npm:dyladan","email":""},{"name":"npm:mayurkale22","email":""},{"name":"npm:obecny","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scope-base_0.3.3_1579733421170_0.2262434275686942"},"_hasShrinkwrap":false,"publish_time":1579733421347,"deprecated":"Package renamed to @opentelemetry/context-base, see https://github.com/open-telemetry/opentelemetry-js","_cnpm_publish_time":1579733421347,"_cnpmcore_publish_time":"2021-12-16T19:42:01.791Z"},"0.3.2":{"name":"@opentelemetry/scope-base","version":"0.3.2","description":"OpenTelemetry Base Scope Manager","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/open-telemetry/opentelemetry-js.git"},"scripts":{"test":"nyc ts-mocha -p tsconfig.json 'test/**/*.ts'","tdd":"yarn test -- --watch-extensions ts --watch","codecov":"nyc report --reporter=json && codecov -f coverage/*.json -p ../../","clean":"rimraf build/*","check":"gts check","precompile":"tsc --version","version:update":"node ../../scripts/version-update.js","compile":"npm run version:update && tsc -p .","fix":"gts fix","prepare":"npm run compile"},"keywords":["opentelemetry","nodejs","browser","tracing","profiling","metrics","stats"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"^5.2.5","@types/node":"^12.6.8","codecov":"^3.6.1","gts":"^1.1.0","mocha":"^6.1.0","nyc":"^14.1.1","rimraf":"^3.0.0","ts-mocha":"^6.0.0","ts-node":"^8.0.0","tslint-consistent-codestyle":"^1.15.1","tslint-microsoft-contrib":"^6.2.0","typescript":"3.7.2"},"bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","_id":"@opentelemetry/scope-base@0.3.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"mayurkale22","email":"mayurkale22@gmail.com"},"dist":{"shasum":"af85a7e6026eaf9277ccdd829797372a5fe58397","size":6848,"noattachment":false,"key":"/@opentelemetry/scope-base/-/@opentelemetry/scope-base-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opentelemetry/scope-base/download/@opentelemetry/scope-base-0.3.2.tgz"},"maintainers":[{"name":"bogdandrutu","email":""},{"name":"dyladan","email":""},{"name":"npm:bogdandrutu","email":""},{"name":"npm:dyladan","email":""},{"name":"npm:mayurkale22","email":""},{"name":"npm:obecny","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scope-base_0.3.2_1578088737874_0.5446719367233182"},"_hasShrinkwrap":false,"publish_time":1578088737982,"deprecated":"Package renamed to @opentelemetry/context-base, see https://github.com/open-telemetry/opentelemetry-js","_cnpm_publish_time":1578088737982,"_cnpmcore_publish_time":"2021-12-16T19:42:01.997Z"},"0.3.1":{"name":"@opentelemetry/scope-base","version":"0.3.1","description":"OpenTelemetry Base Scope Manager","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/open-telemetry/opentelemetry-js.git"},"scripts":{"test":"nyc ts-mocha -p tsconfig.json 'test/**/*.ts'","tdd":"yarn test -- --watch-extensions ts --watch","codecov":"nyc report --reporter=json && codecov -f coverage/*.json -p ../../","clean":"rimraf build/*","check":"gts check","precompile":"tsc --version","compile":"tsc -p .","fix":"gts fix","prepare":"npm run compile"},"keywords":["opentelemetry","nodejs","browser","tracing","profiling","metrics","stats"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"^5.2.5","@types/node":"^12.6.8","codecov":"^3.6.1","gts":"^1.1.0","mocha":"^6.1.0","nyc":"^14.1.1","rimraf":"^3.0.0","ts-mocha":"^6.0.0","ts-node":"^8.0.0","tslint-consistent-codestyle":"^1.15.1","tslint-microsoft-contrib":"^6.2.0","typescript":"3.7.2"},"bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","_id":"@opentelemetry/scope-base@0.3.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"mayurkale22","email":"mayurkale22@gmail.com"},"dist":{"shasum":"e550174ea0847c7a6014764087118d1fabc4703d","size":6701,"noattachment":false,"key":"/@opentelemetry/scope-base/-/@opentelemetry/scope-base-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opentelemetry/scope-base/download/@opentelemetry/scope-base-0.3.1.tgz"},"maintainers":[{"name":"bogdandrutu","email":""},{"name":"dyladan","email":""},{"name":"npm:bogdandrutu","email":""},{"name":"npm:dyladan","email":""},{"name":"npm:mayurkale22","email":""},{"name":"npm:obecny","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scope-base_0.3.1_1576886543612_0.5883209976475039"},"_hasShrinkwrap":false,"publish_time":1576886543762,"deprecated":"Package renamed to @opentelemetry/context-base, see https://github.com/open-telemetry/opentelemetry-js","_cnpm_publish_time":1576886543762,"_cnpmcore_publish_time":"2021-12-16T19:42:02.224Z"},"0.3.0":{"name":"@opentelemetry/scope-base","version":"0.3.0","description":"OpenTelemetry Base Scope Manager","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/open-telemetry/opentelemetry-js.git"},"scripts":{"test":"nyc ts-mocha -p tsconfig.json 'test/**/*.ts'","tdd":"yarn test -- --watch-extensions ts --watch","codecov":"nyc report --reporter=json && codecov -f coverage/*.json -p ../../","clean":"rimraf build/*","check":"gts check","precompile":"tsc --version","compile":"tsc -p .","fix":"gts fix","prepare":"npm run compile"},"keywords":["opentelemetry","nodejs","browser","tracing","profiling","metrics","stats"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"^5.2.5","@types/node":"^12.6.8","codecov":"^3.6.1","gts":"^1.1.0","mocha":"^6.1.0","nyc":"^14.1.1","rimraf":"^3.0.0","ts-mocha":"^6.0.0","ts-node":"^8.0.0","tslint-consistent-codestyle":"^1.15.1","tslint-microsoft-contrib":"^6.2.0","typescript":"3.7.2"},"bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","_id":"@opentelemetry/scope-base@0.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"mayurkale22","email":"mayurkale22@gmail.com"},"dist":{"shasum":"c4267449a4041f37b5d69c13f36d17dbc5514e91","size":6699,"noattachment":false,"key":"/@opentelemetry/scope-base/-/@opentelemetry/scope-base-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opentelemetry/scope-base/download/@opentelemetry/scope-base-0.3.0.tgz"},"maintainers":[{"name":"bogdandrutu","email":""},{"name":"dyladan","email":""},{"name":"npm:bogdandrutu","email":""},{"name":"npm:dyladan","email":""},{"name":"npm:mayurkale22","email":""},{"name":"npm:obecny","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scope-base_0.3.0_1576265938787_0.04396072248253269"},"_hasShrinkwrap":false,"publish_time":1576265938947,"deprecated":"Package renamed to @opentelemetry/context-base, see https://github.com/open-telemetry/opentelemetry-js","_cnpm_publish_time":1576265938947,"_cnpmcore_publish_time":"2021-12-16T19:42:02.455Z"},"0.2.0":{"name":"@opentelemetry/scope-base","version":"0.2.0","description":"OpenTelemetry Base Scope Manager","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/open-telemetry/opentelemetry-js.git"},"scripts":{"test":"nyc ts-mocha -p tsconfig.json 'test/**/*.ts'","tdd":"yarn test -- --watch-extensions ts --watch","codecov":"nyc report --reporter=json && codecov -f coverage/*.json -p ../../","clean":"rimraf build/*","check":"gts check","compile":"tsc -p .","fix":"gts fix","prepare":"npm run compile"},"keywords":["opentelemetry","nodejs","browser","tracing","profiling","metrics","stats"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"^5.2.5","@types/node":"^12.6.8","codecov":"^3.1.0","gts":"^1.0.0","mocha":"^6.1.0","nyc":"^14.1.1","rimraf":"^3.0.0","ts-mocha":"^6.0.0","ts-node":"^8.0.0","tslint-consistent-codestyle":"^1.15.1","tslint-microsoft-contrib":"^6.2.0","typescript":"^3.6.3"},"bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","_id":"@opentelemetry/scope-base@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"mayurkale22","email":"mayurkale22@gmail.com"},"dist":{"shasum":"efac9269219c857cd9ac0a42b2eb46399ce6f091","size":6682,"noattachment":false,"key":"/@opentelemetry/scope-base/-/@opentelemetry/scope-base-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opentelemetry/scope-base/download/@opentelemetry/scope-base-0.2.0.tgz"},"maintainers":[{"name":"bogdandrutu","email":""},{"name":"dyladan","email":""},{"name":"npm:bogdandrutu","email":""},{"name":"npm:dyladan","email":""},{"name":"npm:mayurkale22","email":""},{"name":"npm:obecny","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scope-base_0.2.0_1572898858460_0.6374841041354737"},"_hasShrinkwrap":false,"publish_time":1572898858573,"deprecated":"Package renamed to @opentelemetry/context-base, see https://github.com/open-telemetry/opentelemetry-js","_cnpm_publish_time":1572898858573,"_cnpmcore_publish_time":"2021-12-16T19:42:02.709Z"},"0.1.1":{"name":"@opentelemetry/scope-base","version":"0.1.1","description":"OpenTelemetry Base Scope Manager","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/open-telemetry/opentelemetry-js.git"},"scripts":{"test":"nyc ts-mocha -p tsconfig.json 'test/**/*.ts'","tdd":"yarn test -- --watch-extensions ts --watch","codecov":"nyc report --reporter=json && codecov -f coverage/*.json -p ../../","clean":"rimraf build/*","check":"gts check","compile":"tsc -p .","fix":"gts fix","prepare":"npm run compile"},"keywords":["opentelemetry","nodejs","browser","tracing","profiling","metrics","stats"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"^5.2.5","@types/node":"^12.6.8","codecov":"^3.1.0","gts":"^1.0.0","mocha":"^6.1.0","nyc":"^14.1.1","rimraf":"^3.0.0","tslint-microsoft-contrib":"^6.2.0","tslint-consistent-codestyle":"^1.15.1","ts-mocha":"^6.0.0","ts-node":"^8.0.0","typescript":"^3.6.3"},"dependencies":{},"bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","_id":"@opentelemetry/scope-base@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"mayurkale22","email":"mayurkale22@gmail.com"},"dist":{"shasum":"1f49f1e1c2122775658e47aba693cab96a185a89","size":6684,"noattachment":false,"key":"/@opentelemetry/scope-base/-/@opentelemetry/scope-base-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opentelemetry/scope-base/download/@opentelemetry/scope-base-0.1.1.tgz"},"maintainers":[{"name":"bogdandrutu","email":""},{"name":"dyladan","email":""},{"name":"npm:bogdandrutu","email":""},{"name":"npm:dyladan","email":""},{"name":"npm:mayurkale22","email":""},{"name":"npm:obecny","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scope-base_0.1.1_1571183448191_0.16609825363333997"},"_hasShrinkwrap":false,"publish_time":1571183448343,"deprecated":"Package renamed to @opentelemetry/context-base, see https://github.com/open-telemetry/opentelemetry-js","_cnpm_publish_time":1571183448343,"_cnpmcore_publish_time":"2021-12-16T19:42:02.901Z"},"0.1.0":{"name":"@opentelemetry/scope-base","version":"0.1.0","description":"OpenTelemetry Base Scope Manager","main":"build/src/index.js","types":"build/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/open-telemetry/opentelemetry-js.git"},"scripts":{"test":"nyc ts-mocha -p tsconfig.json 'test/**/*.ts'","tdd":"yarn test -- --watch-extensions ts --watch","codecov":"nyc report --reporter=json && codecov -f coverage/*.json -p ../../","clean":"rimraf build/*","check":"gts check","compile":"tsc -p .","fix":"gts fix"},"keywords":["opentelemetry","nodejs","browser","tracing","profiling","metrics","stats"],"author":{"name":"OpenTelemetry Authors"},"license":"Apache-2.0","engines":{"node":">=8.0.0"},"publishConfig":{"access":"public"},"devDependencies":{"@types/mocha":"^5.2.5","@types/node":"^12.6.8","codecov":"^3.1.0","gts":"^1.0.0","mocha":"^6.1.0","nyc":"^14.1.1","rimraf":"^3.0.0","tslint-microsoft-contrib":"^6.2.0","tslint-consistent-codestyle":"^1.15.1","ts-mocha":"^6.0.0","ts-node":"^8.0.0","typescript":"^3.6.3"},"dependencies":{},"bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","_id":"@opentelemetry/scope-base@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"mayurkale22","email":"mayurkale22@gmail.com"},"dist":{"shasum":"0d768768e3d90b8f7d6eaa1e9e4377c651987ae4","size":5742,"noattachment":false,"key":"/@opentelemetry/scope-base/-/@opentelemetry/scope-base-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@opentelemetry/scope-base/download/@opentelemetry/scope-base-0.1.0.tgz"},"maintainers":[{"name":"bogdandrutu","email":""},{"name":"dyladan","email":""},{"name":"npm:bogdandrutu","email":""},{"name":"npm:dyladan","email":""},{"name":"npm:mayurkale22","email":""},{"name":"npm:obecny","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/scope-base_0.1.0_1570574851508_0.119680219093667"},"_hasShrinkwrap":false,"publish_time":1570574851650,"deprecated":"Package renamed to @opentelemetry/context-base, see https://github.com/open-telemetry/opentelemetry-js","_cnpm_publish_time":1570574851650,"_cnpmcore_publish_time":"2021-12-16T19:42:03.113Z"}},"readme":"# OpenTelemetry Base Scope Manager\n[![Gitter chat][gitter-image]][gitter-url]\n[![NPM Published Version][npm-img]][npm-url]\n[![dependencies][dependencies-image]][dependencies-url]\n[![devDependencies][devDependencies-image]][devDependencies-url]\n[![Apache License][license-image]][license-image]\n\nThis package provides the ScopeManager interface (which is used by concrete implementations) and a no-op implementation (which is used internally when no scope propagation is defined). It's intended for use both on the server and in the browser.\n\n## What is a Scope Manager ?\n\nTo understand why they exists, we'll need to understand how Javascript works: when you make native function call (networks, setInterval etc) you generally call C++ code that will later callback your own code.\n\nA common issue when tracing a request in javascript is to link the function that have made the native call to the callback that the native code called when the response is there. Imagine you want to track for which user you made the request, you need some sort of \"context/scope aware storage\".\n\nScopeManager's aim to offer exactly that, it's API offer to store an object in the current scope (`with()`) and if needed, `bind()` to a specific function call to find it back when the callback fire, which can later get retrieved using `active()`.\n\nThis package only include the interface and a Noop implementation, for more information please see the [async-hooks based ScopeManager][ah-scope-manager] for NodeJS.\n\nNote: You will sometimes read about **context** management, which is sometimes also used for talking about **scope** management. However in OpenTelemetry, **context** was already heavily used as a concept in the Trace API so we named this package with **scope** to avoid confusion.\n\n## Useful links\n- For more information on OpenTelemetry, visit: <https://opentelemetry.io/>\n- For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js>\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/open-telemetry/opentelemetry-js.svg\n[gitter-url]: https://gitter.im/open-telemetry/opentelemetry-node?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n[license-url]: https://github.com/open-telemetry/opentelemetry-js/blob/master/LICENSE\n[license-image]: https://img.shields.io/badge/license-Apache_2.0-green.svg?style=flat\n[dependencies-image]: https://david-dm.org/open-telemetry/opentelemetry-js/status.svg?path=packages/opentelemetry-scope-base\n[dependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-scope-base\n[devDependencies-image]: https://david-dm.org/open-telemetry/opentelemetry-js/dev-status.svg?path=packages/opentelemetry-scope-base\n[devDependencies-url]: https://david-dm.org/open-telemetry/opentelemetry-js?path=packages%2Fopentelemetry-scope-base&type=dev\n[ah-scope-manager]: https://github.com/open-telemetry/opentelemetry-js/tree/master/packages/opentelemetry-scope-async-hooks\n[npm-url]: https://www.npmjs.com/package/@opentelemetry/scope-base\n[npm-img]: https://badge.fury.io/js/%40opentelemetry%2Fscope-base.svg\n","_attachments":{},"homepage":"https://github.com/open-telemetry/opentelemetry-js#readme","bugs":{"url":"https://github.com/open-telemetry/opentelemetry-js/issues"},"license":"Apache-2.0"}