Installations
npm install slow-equals
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
2.0.0
NPM Version
2.9.0
Score
62.8
Supply Chain
79.9
Quality
75
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
fundon
Download Statistics
Total Downloads
2,131
Last Day
1
Last Week
5
Last Month
23
Last Year
117
GitHub Statistics
1 Stars
11 Commits
2 Watching
1 Branches
1 Contributors
Bundle Size
277.00 B
Minified
198.00 B
Minified + Gzipped
Package Meta Information
Latest Version
0.0.3
Package Id
slow-equals@0.0.3
Size
2.04 kB
NPM Version
2.9.0
Node Version
2.0.0
Total Downloads
Cumulative downloads
Total Downloads
2,131
Last day
0%
1
Compared to previous day
Last week
-28.6%
5
Compared to previous week
Last month
360%
23
Compared to previous month
Last year
11.4%
117
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
slow-equals
A fast, compare tow strings, slowequals.
Benchmark
npm run benchmark
Compare tow equal short strings:
slow-equals x 31,602,870 ops/sec ±0.75% (96 runs sampled)
=== x 63,884,781 ops/sec ±1.32% (94 runs sampled)
== x 62,142,074 ops/sec ±4.93% (91 runs sampled)
Fastest is ===,==
Compare tow equal long strings:
slow-equals x 6,905,069 ops/sec ±0.74% (96 runs sampled)
=== x 64,830,622 ops/sec ±0.98% (96 runs sampled)
== x 65,022,256 ops/sec ±1.71% (97 runs sampled)
Fastest is ===
Compare tow not equal short strings:
slow-equals x 22,978,381 ops/sec ±1.01% (93 runs sampled)
=== x 64,601,358 ops/sec ±1.25% (97 runs sampled)
== x 65,122,107 ops/sec ±0.81% (95 runs sampled)
Fastest is ==,===
Compare tow not equal long strings:
slow-equals x 8,872,916 ops/sec ±0.74% (98 runs sampled)
=== x 65,217,667 ops/sec ±0.72% (96 runs sampled)
== x 65,377,054 ops/sec ±0.73% (96 runs sampled)
Fastest is ==,===
1var slowEquals = require('slow-equals'); 2 3var result = slowEquals('Hello', 'hello'); 4// result => false
Installation
1$ npm i slow-equals
License
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 0/11 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
Last Scanned on 2025-02-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More