side-channel-weakmap
npmv1.0.2TypeScriptStore information about any JS value in a side channel. Uses WeakMap if available.
Overview
side-channel-weakmap is an npm package that store information about any JS value in a side channel. Uses WeakMap if available. The latest version is 1.0.2, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need store information about any JS value in a side channel. Uses WeakMap if available and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (22 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of side-channel-weakmap.
Dependencies
Runtime (5)
Dev (17)
Used by
Popular packages that depend on side-channel-weakmap.
Alternatives to side-channel-weakmap
Store information about any JS value in a side channel. Uses WeakMap if available.
Trace the original position through a source map
Generate source maps
Remap sequential sourcemaps through transformations to point at the original source code
Is this value a JS Set? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
Converts a source-map from/to different formats and allows adding/changing properties.
Get the metadata from a Google Cloud Platform environment
Is this value a JS Map? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
Frequently installed together
An AST-based pattern checker for JavaScript.
A simple cache for a few of the JS Error constructors.
string representations of objects in node and the browser
Store information about any JS value in a side channel, using a linked list
Store information about any JS value in a side channel, using a Map
Version history
| Version | Published | License |
|---|---|---|
| 1.0.2latest | 1 year ago | MIT |
| 1.0.1 | 1 year ago | MIT |
| 1.0.0 | 1 year ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install side-channel-weakmap?
Run `npm install side-channel-weakmap` to add side-channel-weakmap to your npm project.
What license is side-channel-weakmap released under?
side-channel-weakmap is distributed under the MIT license.
How popular is side-channel-weakmap?
side-channel-weakmap has approximately 0 downloads per week and 1 known dependent packages.