{"package":"@cantoo/pdf-lib","ecosystem":"npm","latest_version":"2.8.1","description":"Create and modify PDF files with JavaScript","license":"MIT","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://pdf-lib.js.org","repository":"https://github.com/cantoo-scribe/pdf-lib","downloads_weekly":382667,"health":{"score":86,"risk":"low","breakdown":{"maintenance":25,"popularity":14,"security":25,"maturity":15,"community":7,"popularity_floor":0},"deprecated":false,"max_score":100},"vulnerabilities":{"count":0,"critical":0,"high":0,"medium":0,"low":0,"details":[]},"versions":{"latest":"2.8.1","total_count":114,"recent":["2.4.3","2.4.4","2.4.5","2.5.0","2.5.1","2.5.2","2.5.3","2.6.0","2.6.1","2.6.2","2.6.3","2.6.4","2.6.5","2.7.0","2.7.1","2.7.2","2.7.3","2.7.4","2.8.0","2.8.1"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":6,"first_published":"2021-03-12T01:14:25.733Z","last_published":"2026-07-30T09:54:07.304Z","dependencies_count":8,"dependencies":["@pdf-lib/standard-fonts","@pdf-lib/upng","color","crypto-js","html-entities","node-html-better-parser","pako","tslib"]},"github_stats":{"stars":344,"forks":69,"open_issues":24,"is_archived":false,"pushed_at":"2026-07-30T09:54:11Z","subscribers_count":7},"bundle":{"size_kb":657.6,"gzip_kb":261.9,"dependency_count":8,"has_js_module":"es/index.js","has_side_effects":true,"scoped":true,"source":"bundlephobia"},"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.8.1","version_hint":null,"summary":"@cantoo/pdf-lib@2.8.1 is safe to use (health: 86/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/%40cantoo%2Fpdf-lib","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/%40cantoo%2Fpdf-lib","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/%40cantoo%2Fpdf-lib","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 71 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":false},"co_used_with":[{"package":"@1stg/remark-preset","occurrences":1},{"package":"@algolia/ui-components-horizontal-slider-js","occurrences":1},{"package":"@antv/l7-layers","occurrences":1},{"package":"@applitools/dom-utils","occurrences":1},{"package":"@canva/app-ui-kit","occurrences":1}],"version_history_summary":{"total_versions":20,"first_release_age_days":1968,"last_release_days_ago":2,"avg_days_between_releases":104,"release_velocity":"active"}}