Gathering detailed insights and metrics for @stoplight/spectral-formatters
Gathering detailed insights and metrics for @stoplight/spectral-formatters
Gathering detailed insights and metrics for @stoplight/spectral-formatters
Gathering detailed insights and metrics for @stoplight/spectral-formatters
A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI (v3.1, v3.0, and v2.0), Arazzo v1.0, as well as AsyncAPI v2.x.
npm install @stoplight/spectral-formatters
Typescript
Module System
Min. Node Version
Node Version
NPM Version
90.5
Supply Chain
74.7
Quality
78.2
Maintenance
100
Vulnerability
99.3
License
TypeScript (96.99%)
JavaScript (2.66%)
HTML (0.18%)
Shell (0.1%)
Dockerfile (0.07%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
2,775 Stars
2,126 Commits
259 Forks
33 Watchers
25 Branches
163 Contributors
Updated on Jul 16, 2025
Latest Version
1.5.0
Package Id
@stoplight/spectral-formatters@1.5.0
Unpacked Size
78.73 kB
Size
19.77 kB
File Count
78
NPM Version
8.19.4
Node Version
22.14.0
Published on
Apr 22, 2025
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
This project exposes the available formatters from the CLI for users that perform custom validation through Javascript.
1import { pretty } from "@stoplight/spectral-formatters"; 2 3const spectral = new Spectral(); 4// ... 5const result = await spectral.run(document); 6 7// You can also filter the results here. 8const output = pretty(result); 9 10console.error(output); 11// ...
No vulnerabilities found.
Reason
9 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
Found 7/27 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
16 existing vulnerabilities detected
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