{"package":"@stoplight/spectral-cli","ecosystem":"npm","latest_version":"6.16.3","description":"[![](https://raw.githubusercontent.com/stoplightio/spectral/develop/docs/img/readme-header.svg)](https://stoplight.io/api-governance?utm_source=github&utm_medium=spectral&utm_campaign=readme) [![CircleCI](https://img.shields.io/circleci/build/github/stopl","license":"Apache-2.0","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/stoplightio/spectral","repository":"https://github.com/stoplightio/spectral","downloads_weekly":1153225,"health":{"score":88,"risk":"low","breakdown":{"maintenance":25,"popularity":17,"security":25,"maturity":12,"community":9,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"6.16.3","total_count":47,"recent":["6.13.0","6.13.1","6.14.0","6.14.1","6.14.2","6.14.3","6.15.0","6.15.0-beta-0.1","6.15.0-beta-0.2","6.15.0-beta-0.3","6.15.0-beta-0.4","6.15.0-beta-0.5","6.15.0-beta-0.7","6.15.0-beta-0.8","6.15.0-beta-0.9","6.15.1","6.16.0","6.16.1","6.16.2","6.16.3"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":4,"first_published":"2021-06-18T13:55:34.366Z","last_published":"2026-08-03T09:44:33.522Z","dependencies_count":20,"dependencies":["chalk","tslib","yargs","lodash","hpagent","fast-glob","pony-cause","stacktracey","@scarf/scarf","@stoplight/json","@stoplight/path","@stoplight/types","@stoplight/spectral-core","@stoplight/spectral-parsers","@stoplight/spectral-runtime","@stoplight/spectral-rulesets","@stoplight/spectral-formatters","@stoplight/spectral-ref-resolver","@stoplight/spectral-ruleset-bundler","@stoplight/spectral-ruleset-migrator"]},"github_stats":{"stars":3216,"forks":293,"open_issues":222,"is_archived":false,"pushed_at":"2026-09-17T07:09:15Z","subscribers_count":33},"bundle":null,"typescript":{"score":10,"has_types":true,"types_source":"bundled","types_package":null},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"6.16.3","version_hint":null,"summary":"@stoplight/spectral-cli@6.16.3 is safe to use (health: 88/100)"},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/npm/%40stoplight%2Fspectral-cli","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/%40stoplight%2Fspectral-cli","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/%40stoplight%2Fspectral-cli","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate"},"_cache":"hit","_response_ms":0}