Gathering detailed insights and metrics for indent-string
Gathering detailed insights and metrics for indent-string
Gathering detailed insights and metrics for indent-string
Gathering detailed insights and metrics for indent-string
npm install indent-string
99.4
Supply Chain
88.9
Quality
75.8
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
112 Stars
50 Commits
17 Forks
7 Watching
1 Branches
10 Contributors
Updated on 28 Jul 2024
JavaScript (88.55%)
TypeScript (11.45%)
Cumulative downloads
Total Downloads
Last day
-23.6%
7,144,075
Compared to previous day
Last week
-4.4%
48,858,954
Compared to previous week
Last month
10.9%
204,407,294
Compared to previous month
Last year
9.5%
2,054,089,223
Compared to previous year
Indent each line in a string
$ npm install indent-string
1import indentString from 'indent-string'; 2 3indentString('Unicorns\nRainbows', 4); 4//=> ' Unicorns\n Rainbows' 5 6indentString('Unicorns\nRainbows', 4, {indent: '♥'}); 7//=> '♥♥♥♥Unicorns\n♥♥♥♥Rainbows'
Type: string
The string to indent.
Type: number
Default: 1
How many times you want options.indent
repeated.
Type: object
Type: string
Default: ' '
The string to use for the indent.
Type: boolean
Default: false
Also indent empty lines.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 8/30 approved changesets -- score normalized to 2
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
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
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
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