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
71
Supply Chain
75.4
Quality
77.7
Maintenance
100
Vulnerability
99.3
License
TypeScript (96.98%)
JavaScript (2.68%)
HTML (0.17%)
Shell (0.1%)
Dockerfile (0.07%)
Total Downloads
15,469,638
Last Day
42,662
Last Week
187,962
Last Month
835,404
Last Year
10,925,017
2,602 Stars
2,098 Commits
243 Forks
34 Watching
22 Branches
155 Contributors
Latest Version
1.4.3
Package Id
@stoplight/spectral-formatters@1.4.3
Unpacked Size
76.58 kB
Size
19.39 kB
File Count
78
NPM Version
8.19.4
Node Version
20.18.0
Publised On
19 Nov 2024
Cumulative downloads
Total Downloads
Last day
-2.1%
42,662
Compared to previous day
Last week
-17.3%
187,962
Compared to previous week
Last month
1.4%
835,404
Compared to previous month
Last year
140.4%
10,925,017
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
no dangerous workflow patterns detected
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
7 existing vulnerabilities detected
Details
Reason
Found 3/27 approved changesets -- score normalized to 1
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
security policy file not detected
Details
Reason
Project has not signed or included provenance with any releases.
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
Score
Last Scanned on 2025-01-27
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