OSSIntel logo OSSIntel
Version 0.1.3API DocsFunctions

calculateVelocityScore()

Updated 3 Nov 2026

calculateVelocityScore(packageVelocity?, npmPackage?): number

Defined in: scoring/src/repository-scoring.ts:94

Calculate installation velocity score (0-100) from npm downloads or VS Code marketplace installs. Supports single packages as well as multi-package repositories / monorepos.

Parameters

packageVelocity?

PackageVelocity | PackageVelocity[] | null

npmPackage?

NormalizedNpmPackage | NormalizedNpmPackage[] | null

Returns

number

On this page