{"package":"import-sync","ecosystem":"npm","latest_version":"2.2.6","description":"Synchronously import dynamic ECMAScript Modules similar to CommonJS require. Basic wrapper around esm for compatibility with both ESM and CJS projects in NodeJS.","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/nktnet1/import-sync#readme","repository":"https://github.com/nktnet1/import-sync","downloads_weekly":9971,"health":{"score":70,"risk":"moderate","breakdown":{"maintenance":25,"popularity":6,"security":25,"maturity":12,"community":2},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"2.2.6","total_count":28,"recent":["2.0.3","2.0.4","2.0.5","2.0.6","2.1.0","2.1.1","2.1.2","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4-beta.0","2.2.4-beta.1","2.2.4-beta.2","2.2.4-beta.3","2.2.4-beta.4","2.2.4-beta.5","2.2.4","2.2.5","2.2.6"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":1,"first_published":"2023-10-16T15:04:01.323Z","last_published":"2026-04-23T01:25:21.636Z","dependencies_count":1,"dependencies":["esm-sync"]},"github_stats":{"stars":33,"forks":2,"open_issues":0,"is_archived":false,"pushed_at":"2026-09-18T04:40:23Z","subscribers_count":1},"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":"2.2.6","version_hint":null,"summary":"import-sync@2.2.6 is safe to use (health: 70/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/import-sync","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/import-sync","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/import-sync","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}