is-shared-array-buffer
npmv1.0.4TypeScriptIs this value a JS SharedArrayBuffer?
Overview
is-shared-array-buffer is an npm package that is this value a JS SharedArrayBuffer?. The latest version is 1.0.4, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need is this value a JS SharedArrayBuffer? 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 is-shared-array-buffer.
Dependencies
Runtime (1)
Dev (21)
Used by
Popular packages that depend on is-shared-array-buffer.
Alternatives to is-shared-array-buffer
`Object.defineProperty`, but not IE 8's broken one.
Get and robustly cache all JS language-level intrinsics at first require time
Robust call-bound JavaScript intrinsics, using `call-bind` and `get-intrinsic`.
A simple cache for a few of the JS Error constructors.
An AST-based pattern checker for JavaScript.
An Esprima-compatible JavaScript parser built on Acorn
Determine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
A query library for ECMAScript AST using a CSS selector like query language.
A robust, ES3 compatible, "has own property" predicate.
A JavaScript parser
prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.
Which kind of boxed JS primitive is this?
Frequently installed together
The semantic version parser used by npm.
Store information about any JS value in a side channel. Uses WeakMap if available.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Get an iterator for any JS language value. Works robustly across all environments, all versions.
Which kind of boxed JS primitive is this?
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Robustly `.call.bind()` a function
Array#isArray for older browsers
ES2015-compliant shim for Object.is - differentiates between -0 and +0
Is this an arguments object? It's a harder question than you think.
An AST-based pattern checker for JavaScript.
Get and robustly cache all JS language-level intrinsics at first require time
Version history
| Version | Published | License |
|---|---|---|
| 1.0.4latest | 1 year ago | MIT |
| 1.0.3 | 2 years ago | MIT |
| 1.0.2 | 4 years ago | MIT |
| 1.0.1 | 5 years ago | MIT |
| 1.0.0 | 5 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install is-shared-array-buffer?
Run `npm install is-shared-array-buffer` to add is-shared-array-buffer to your npm project.
What license is is-shared-array-buffer released under?
is-shared-array-buffer is distributed under the MIT license.
How popular is is-shared-array-buffer?
is-shared-array-buffer has approximately 0 downloads per week and 1 known dependent packages.