Skip to content
JS
Package

ml-distance

Distance and similarity functions to compare vectors

v5.0.0, 8 Sept 2026MITESM onlyTypes: None
$ npm install ml-distance

Key numbers

As of 25 Sept 2026
Weekly downloads
141.2k
-28% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
16 days ago
v5.0.0
GitHub stars
81
4 forks
Open issues / PRs
3 / 2
Contributors
-
Commits, last 52 weeks
8

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300kSept 2025Mar 2026Sept 2026High 273.1k (20 Jan 2026)Low 118k (12 May 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

141,155 downloads last week, 717,366 in the last month. The 12-month change of -28% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
5.0.0, 8 Sept 202616 days ago
First published
-
Last push to GitHub
11 Sept 202614 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
2
Commits, last 52 weeks
8
Dependents on npm
54

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
131 kB
Dependencies (3)
cheminfo-typesml-tree-similarityml-distance-euclidean
npm install ml-distance
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ml-distance@5.0.0/
  • unpkghttps://unpkg.com/ml-distance@5.0.0/
  • esm.shhttps://esm.sh/ml-distance@5.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.