compute-cosine-similarity
Computes the cosine similarity between two arrays.
compute-cosine-similarity@1.1.0 was published on 2023-09-15. Its manifest declares 4 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All compute-cosine-similarity versions · Permanent reference to 1.1.0
Package specifications
| Version | 1.1.0 |
|---|---|
| License declaration | Not declared |
| Published | 2023-09-15T23:15:56.693Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 4 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 9.00 KiB |
| Published file count | 5 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | ./lib |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 4 |
| Repository stars | 103 |
| Repository forks | 11 |
Install compute-cosine-similarity 1.1.0
npm install compute-cosine-similarity@1.1.0 pnpm add compute-cosine-similarity@1.1.0 yarn add compute-cosine-similarity@1.1.0
Runtime dependencies
- compute-dot ^1.1.0
- compute-l2norm ^1.1.0
- validate.io-array ^1.0.5
- validate.io-function ^1.0.2
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- compute-dot@1.1.0 — direct
- compute-l2norm@1.1.0 — direct
- validate.io-array@1.0.6 — direct
- validate.io-function@1.0.2 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 0/10 — Found 1/16 approved changesets -- score normalized to 0 |
|---|---|
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
Evidence and freshness
- https://registry.npmjs.org/compute-cosine-similarity/1.1.0 — retrieved 2026-10-31T17:19:51.666Z
- https://api.deps.dev/v3/systems/npm/packages/compute-cosine-similarity/versions/1.1.0 — retrieved 2026-10-31T17:19:52.133Z
- https://api.deps.dev/v3/systems/npm/packages/compute-cosine-similarity/versions/1.1.0:dependencies — retrieved 2026-10-31T17:19:52.158Z
- https://api.deps.dev/v3/projects/github.com%2Fcompute-io%2Fcosine-similarity — retrieved 2026-10-31T17:19:52.648Z