stdlib-js/Check HTML `src` Attributes
Check all HTML `src` attributes in the Markdown files of a directory.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| directory | Directory in which to to search for `src` URLs | no | — |
| exclude | Regular expression pattern for `src` URLs that should be skipped | no | none |
| successCodes | Comma-separated list of HTTP response codes that should be considered a success | no | 200, 201, 202, 203, 204, 205, 206, 207, 208, 226 |
| warningCodes | Comma-separated list of HTTP response codes that should be considered a warning | no | 300, 301, 302, 303, 304, 305, 306, 307, 308 |
Outputs
| name | description |
|---|---|
| failures | New-line separated list of failing `src` URLs indicating broken links |
| warnings | New-line separated list of warnings |
| status | Status of the completed action (either `success` or `failure`) |