{"id":16175670,"url":"https://github.com/osiris-team/pdf.js-utils","last_synced_at":"2026-03-08T23:33:55.596Z","repository":{"id":251202129,"uuid":"836709959","full_name":"Osiris-Team/pdf.js-utils","owner":"Osiris-Team","description":"A collection of utility functions for pdf.js to make the lives of developers easier.","archived":false,"fork":false,"pushed_at":"2024-08-01T12:03:57.000Z","size":10,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T05:51:10.210Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Osiris-Team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-01T11:54:22.000Z","updated_at":"2025-03-15T19:10:32.000Z","dependencies_parsed_at":"2024-12-17T12:34:15.653Z","dependency_job_id":null,"html_url":"https://github.com/Osiris-Team/pdf.js-utils","commit_stats":null,"previous_names":["osiris-team/pdf.js-utils"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Osiris-Team/pdf.js-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osiris-Team%2Fpdf.js-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osiris-Team%2Fpdf.js-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osiris-Team%2Fpdf.js-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osiris-Team%2Fpdf.js-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Osiris-Team","download_url":"https://codeload.github.com/Osiris-Team/pdf.js-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Osiris-Team%2Fpdf.js-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30277012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T04:45:28.689Z","updated_at":"2026-03-08T23:33:55.574Z","avatar_url":"https://github.com/Osiris-Team.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pdf.js-utils\nA collection of utility functions for pdf.js to make the lives of developers easier.\n\n### Usage\nCopy [src.js](./src.js) into your project or prepend it to your JavaScript code\nto be able to use the additional functions provided.\n\n### Adding/Removing Text Fields\nDirect Usage: `addTextEditor(1, \"hello world!\")`\nSafe Usage:\n```js\nwaitForAnnotationEditorLayer()\n    .then(() =\u003e {\n        console.log('All annotation editor layers are ready!');\n        // Your code here that depends on the pageEditorLayer, for example:\n        addTextEditor(1, \"hello world!\")\n    })\n    .catch(error =\u003e {\n        console.error(error);\n    });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosiris-team%2Fpdf.js-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosiris-team%2Fpdf.js-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosiris-team%2Fpdf.js-utils/lists"}