{"id":23125685,"url":"https://github.com/jeylabs/aws-lambda-poppler","last_synced_at":"2025-07-13T02:06:14.038Z","repository":{"id":36122065,"uuid":"220640589","full_name":"jeylabs/aws-lambda-poppler","owner":"jeylabs","description":"Poppler to fit inside AWS Lambda.","archived":false,"fork":false,"pushed_at":"2023-01-05T00:50:18.000Z","size":457,"stargazers_count":6,"open_issues_count":11,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-01T13:09:01.373Z","etag":null,"topics":["aws","aws-lambda","aws-lambda-poppler","nodejs","poppler"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeylabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-09T12:42:54.000Z","updated_at":"2025-06-17T12:39:20.000Z","dependencies_parsed_at":"2023-01-16T23:00:51.908Z","dependency_job_id":null,"html_url":"https://github.com/jeylabs/aws-lambda-poppler","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jeylabs/aws-lambda-poppler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeylabs%2Faws-lambda-poppler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeylabs%2Faws-lambda-poppler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeylabs%2Faws-lambda-poppler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeylabs%2Faws-lambda-poppler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeylabs","download_url":"https://codeload.github.com/jeylabs/aws-lambda-poppler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeylabs%2Faws-lambda-poppler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265080254,"owners_count":23708120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aws","aws-lambda","aws-lambda-poppler","nodejs","poppler"],"created_at":"2024-12-17T08:14:40.514Z","updated_at":"2025-07-13T02:06:13.989Z","avatar_url":"https://github.com/jeylabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Lambda Poppler\n\nPoppler execution helpers for AWS Lambda Node.js environment.\n\n![Release](https://github.com/jeylabs/aws-lambda-poppler/workflows/Release/badge.svg)\n\n## Install\n\nNPM\n\n```\n$ npm install @jeylabs/aws-lambda-poppler --save\n```\n\nYarn\n\n```\n$ yarn add @jeylabs/aws-lambda-poppler\n```\n\n## Available methods\n\nThese are the methods currently supported.\n\n- [useFonts](https://linux.die.net/man/1/pdffonts)\n- [useInfo](https://linux.die.net/man/1/pdfinfo)\n- [useText](https://linux.die.net/man/1/pdftotext)\n- [useHTML](https://linux.die.net/man/1/pdftohtml)\n- [usePixmap](https://linux.die.net/man/1/pdftoppm)\n- [usePostScript](https://linux.die.net/man/1/pdftops)\n- [useCairo](https://manpages.debian.org/jessie/poppler-utils/pdftocairo.1.en.html)\n\n## How to use\n\n```js\nconst {usePixmap} = require('@jeylabs/aws-lambda-poppler');\n\nmodule.exports.handler = () =\u003e {\n  // assuming there is a document.pdf file inside /tmp dir\n  return usePixmap('document.pdf'); // returns [document/page-1.png, document/page-2.png]\n};\n```\n\n## How to configure\n\nYou can pass configrations as secound parameter to all methods, Please check the source to check supported options.\n\n- Default working diractory is `/tmp`, you can modify it by passing your value with `root` key.\n- If you want to supply more arguments you can pass your argument list with `options` key.\n\n```js\nusePixmap('document.pdf', {\n  root: '/tmp',\n  prefix: 'modified-page',\n  options: ['-png', '-freetype no']\n}); // returns [document/modified-page-1.png, document/modified-page-2.png]\n```\n\n## See Also\n\n- [aws-lambda-poppler-layer](https://github.com/jeylabs/aws-lambda-poppler-layer)\n\n## Thanks\n\n- Inspired by [aws-lambda-libreoffice](https://github.com/shelfio/aws-lambda-libreoffice)\n\n## License\n\nMIT © [jeylabs](https://jeylabs.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeylabs%2Faws-lambda-poppler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeylabs%2Faws-lambda-poppler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeylabs%2Faws-lambda-poppler/lists"}