Skip to content
JS
Package

scmp

safe, constant-time comparison of Buffers

v2.1.0, 26 Dec 2019BSD-3-ClauseCommonJSTypes: None
$ npm install scmp
Deprecated on npm
Just use Node.js's crypto.timingSafeEqual()

Key numbers

As of 25 Sept 2026
Weekly downloads
4.1m
+129% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 years ago
v2.1.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 5.8m (25 Aug 2026)Low 1.4m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

4,144,406 downloads last week, 20,833,197 in the last month. The 12-month change of +129% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
08 in total
Latest version
2.1.0, 26 Dec 20196 years ago
First published
11 Feb 2013
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 6 Nov 2016
  2. v1 first release 1.0.0, 4 Nov 2014
  3. v0 first release 0.0.1, 11 Feb 2013

Recent releases

VersionPublished
2.1.026 Dec 2019
2.0.06 Nov 2016
1.0.26 Nov 2016
1.0.13 Nov 2016
1.0.04 Nov 2014
0.0.324 Mar 2014
0.0.212 Feb 2013
0.0.111 Feb 2013
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
7.7 kB
Dependencies (0)
None
npm install scmp
  • jsDelivrhttps://cdn.jsdelivr.net/npm/scmp@2.1.0/
  • unpkghttps://unpkg.com/scmp@2.1.0/
  • esm.shhttps://esm.sh/scmp@2.1.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated; GitHub data not fetched yet; no category.