Gathering detailed insights and metrics for string.prototype.trimend
Gathering detailed insights and metrics for string.prototype.trimend
Gathering detailed insights and metrics for string.prototype.trimend
Gathering detailed insights and metrics for string.prototype.trimend
ES2019 spec-compliant String.prototype.trimEnd shim
npm install string.prototype.trimend
99.1
Supply Chain
79.7
Quality
78.7
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
5 Stars
64 Commits
5 Forks
5 Watching
2 Branches
2 Contributors
Updated on 20 Dec 2023
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-6.7%
6,656,537
Compared to previous day
Last week
1.4%
38,822,166
Compared to previous week
Last month
9.9%
159,956,976
Compared to previous month
Last year
13.6%
1,687,222,054
Compared to previous year
An ES2019-spec-compliant String.prototype.trimEnd
shim. Invoke its "shim" method to shim String.prototype.trimEnd
if it is unavailable.
This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec. In an ES6 environment, it will also work properly with Symbol
s.
Most common usage:
1var trimEnd = require('string.prototype.trimend'); 2 3assert(trimEnd(' \t\na \t\n') === 'a \t\n'); 4 5if (!String.prototype.trimEnd) { 6 trimEnd.shim(); 7} 8 9assert(trimEnd(' \t\na \t\n ') === ' \t\na \t\n '.trimEnd());
Simply clone the repo, npm install
, and run npm test
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no SAST tool detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Score
Last Scanned on 2024-11-25
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