</>PackageGraphPackageGraph

is-shared-array-buffer

npmv1.0.4TypeScript

Is this value a JS SharedArrayBuffer?

Adopt with care

is-shared-array-buffer is usable, with caveats. Last published 630 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • CMaintenance: grade C, Fair — worth a look.

    Last published 630 days ago.

  • BWeight: grade B, Good.

    Pulls in 12 transitive packages, about 195 KB installed (at least — some of the tree is still being crawled).

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding is-shared-array-buffer to a project.

1
Direct dependencies

Runtime packages this one declares itself.

12
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

195 KB
Install size

Unpacked size of this package plus its entire runtime tree.

3
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

MIT

Every license you inherit by installing is-shared-array-buffer, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >= 0.4
Module format
CommonJS only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the is-shared-array-buffer README.

var assert = require('assert');
var isSharedArrayBuffer = require('is-shared-array-buffer');

assert(!isSharedArrayBuffer(function () {}));
assert(!isSharedArrayBuffer(null));
assert(!isSharedArrayBuffer(function* () { yield 42; return Infinity; });
assert(!isSharedArrayBuffer(Symbol('foo')));
assert(!isSharedArrayBuffer(1n));
assert(!isSharedArrayBuffer(Object(1n)));

assert(!isSharedArrayBuffer(new Set()));
assert(!isSharedArrayBuffer(new WeakSet()));
assert(!isSharedArrayBuffer(new Map()));
assert(!isSharedArrayBuffer(new WeakMap()));
Example truncated — see the full README.

is-shared-array-buffer vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
is-shared-array-bufferthis page01MIT1 year ago
eslint138.4M279MIT1 day ago
es-define-property131.3M4MIT1 day ago
call-bind80.7M5MIT1 day ago
esprima77.6M5BSD-2-Clause1 day ago
is-arguments38.9M2MIT1 day ago

Dependencies

Declared by is-shared-array-buffer v1.0.4. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (21)

@arethetypeswrong/cli ^0.17.1@ljharb/eslint-config ^21.1.1@ljharb/tsconfig ^0.2.2@types/es-value-fixtures ^1.4.4@types/for-each ^0.3.3@types/node ^20.17.10@types/object-inspect ^1.13.0@types/tape ^5.7.0auto-changelog ^2.5.0available-typed-arrays ^1.0.7encoding ^0.1.13es-value-fixtures ^1.5.0eslint =8.8.0for-each ^0.3.3in-publish ^2.0.1npmignore ^0.3.1nyc ^10.3.2object-inspect ^1.13.3safe-publish-latest ^2.0.0tape ^5.9.0typescript next

Used by

Popular packages that depend on is-shared-array-buffer.

Relationship graph

Dependencies (left) and dependents (right) of is-shared-array-buffer.

call-bounddeep-equalis-shared-array-b…
is-shared-array-buffer dependencies dependents

Frequently installed together

Release history

1 release in the last two years, typically about 393 days apart.

Recent versions of is-shared-array-buffer
VersionPublishedSizeLicense
1.0.4latest1 year ago17 KBMIT
1.0.32 years ago18 KBMIT
1.0.24 years ago12 KBMIT
1.0.15 years ago9.0 KBMIT
1.0.05 years ago8.7 KBMIT

Overview

is-shared-array-buffer is an npm package that is this value a JS SharedArrayBuffer?. It has 1 known dependents in the graph. 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.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use is-shared-array-buffer?

is-shared-array-buffer is usable, with caveats. Last published 630 days ago.

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.

How many dependencies does is-shared-array-buffer have?

is-shared-array-buffer declares 22 direct dependencies and pulls in 12 packages in total once its runtime tree is resolved totalling about 195 KB on disk.

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?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on is-shared-array-buffer.

Is is-shared-array-buffer still maintained?

The most recent release of is-shared-array-buffer (v1.0.4) was published 1 year ago.

Does is-shared-array-buffer run install scripts?

No. is-shared-array-buffer does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.