{"package":"write","ecosystem":"npm","latest_version":"2.0.0","description":"Write data to a file, replacing the file if it already exists and creating any intermediate directories if they don't already exist. Thin wrapper around node's native fs methods.","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/jonschlinkert/write","repository":"https://github.com/jonschlinkert/write","downloads_weekly":2747094,"health":{"score":60,"risk":"moderate","breakdown":{"maintenance":0,"popularity":17,"security":25,"maturity":15,"community":3,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"2.0.0","total_count":12,"recent":["0.1.1","0.2.0","0.2.1","0.3.0","0.3.1","0.3.2","0.3.3","1.0.0","1.0.1","1.0.2","1.0.3","2.0.0"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":2,"first_published":"2014-02-12T05:34:49.679Z","last_published":"2019-09-04T06:51:25.005Z","dependencies_count":1,"dependencies":["add-filename-increment"]},"github_stats":{"stars":82,"forks":8,"open_issues":4,"is_archived":false,"pushed_at":"2019-09-04T06:51:37+00:00"},"bundle":null,"typescript":{"score":7,"has_types":true,"types_source":"definitely-typed","types_package":"@types/write"},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"use_with_caution","issues":["Moderate health score (60/100) — verify manually"],"use_version":"2.0.0","version_hint":null,"summary":"write@2.0.0 low health (60/100) — consider alternatives"},"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/write","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/write","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/write","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","hint_bulk":"You've called /api/check 130 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"hit","_response_ms":0,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":false},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":true,"criticality_score":0.702,"criticality_tier":"critical","velocity_pct":null,"velocity_trend":null,"publish_security":"signed"},"version_history_summary":{"total_versions":12,"first_release_age_days":4603,"last_release_days_ago":2573,"avg_days_between_releases":418,"release_velocity":"stale"}}