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
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99
Supply Chain
79.7
Quality
78.7
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
5 Stars
72 Commits
5 Forks
4 Watchers
2 Branches
2 Contributors
Updated on Dec 11, 2024
Latest Version
1.0.9
Package Id
string.prototype.trimend@1.0.9
Unpacked Size
23.03 kB
Size
7.90 kB
File Count
16
NPM Version
10.9.2
Node Version
23.4.0
Published on
Dec 11, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
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 binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
no SAST tool 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
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-07
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