{"_id":"alternative-pdf-combine","_rev":"11-962295113a1e8e673b31016457ae6f4c","name":"alternative-pdf-combine","description":"Alternative approach to combine pdf's (doesn't support windows, requires poppler on linux)","dist-tags":{"latest":"1.1.6"},"versions":{"1.0.0":{"name":"alternative-pdf-combine","version":"1.0.0","description":"Alternative approach to combine pdf's (doesn't support windows, requires poppler on linux)","main":"combinePdfs.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["pdf","combine"],"author":{"name":"Martin Heidegger","email":"martin.heidegger@gmail.com"},"license":"ISC","dependencies":{"command-exists":"^0.1.0"},"gitHead":"3b9d21e768537e666561f834c674538b04900e9d","_id":"alternative-pdf-combine@1.0.0","_shasum":"69e5f2bdfcc10b7582faa1d94a2687898c122377","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"},"dist":{"shasum":"69e5f2bdfcc10b7582faa1d94a2687898c122377","tarball":"https://registry.npmjs.org/alternative-pdf-combine/-/alternative-pdf-combine-1.0.0.tgz","integrity":"sha512-YX6ZoWALA8+zqkFW4KPC+Dd1LZywwjfiJRIVAscNF8J9Duo6P0QBvzlIHQ5JjsX8TxbGdEk/zCQM7pErhkk8pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8pB7tUU4037cSB9BgfDo9eyVR2bcIWKtN5J/84sVsQwIhAMK0vFnG51SuJ2NqN4lGkE7Og4+M8FcZhux16Q3fvBVk"}]},"maintainers":[{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"}]},"1.0.1":{"name":"alternative-pdf-combine","version":"1.0.1","description":"Alternative approach to combine pdf's (doesn't support windows, requires poppler on linux)","main":"combinePdfs.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"alternative-pdf-combine":"bin/alternative-pdf-combine"},"keywords":["pdf","combine"],"author":{"name":"Martin Heidegger","email":"martin.heidegger@gmail.com"},"license":"ISC","dependencies":{"command-exists":"^0.1.0"},"gitHead":"995d5d1ef0767a9c17868958d35398128eadeaaf","_id":"alternative-pdf-combine@1.0.1","_shasum":"add09302f325f479983e9ea304f2bc79ae2df596","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"},"dist":{"shasum":"add09302f325f479983e9ea304f2bc79ae2df596","tarball":"https://registry.npmjs.org/alternative-pdf-combine/-/alternative-pdf-combine-1.0.1.tgz","integrity":"sha512-Oq8m63lPguJSmgU8N9WvoM/bZGsb+xP1Qccg+V9nKtf0t4N6+B240AfQe4zMiVsRfwZijpn7ScnNANIN20N2qw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUHgUqvMB840csufOIiiMf+tInwRTxqDgZwmLATcjgcAiB9BEVMie6jIi2zlvC01veEthYRfpW0PAYiBpXt6+/EqQ=="}]},"maintainers":[{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"}]},"1.1.0":{"name":"alternative-pdf-combine","version":"1.1.0","description":"Alternative approach to combine pdf's (doesn't support windows, requires poppler on linux)","main":"combinePdfs.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"alternative-pdf-combine":"bin/alternative-pdf-combine"},"keywords":["pdf","combine"],"author":{"name":"Martin Heidegger","email":"martin.heidegger@gmail.com"},"license":"ISC","dependencies":{"command-exists":"^0.1.0"},"gitHead":"861e17f11c620af65b2ca409c4d1f8d2885632b1","_id":"alternative-pdf-combine@1.1.0","_shasum":"77b1b505e48d24bd938a6e57ea3c0eccc0a86411","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"},"dist":{"shasum":"77b1b505e48d24bd938a6e57ea3c0eccc0a86411","tarball":"https://registry.npmjs.org/alternative-pdf-combine/-/alternative-pdf-combine-1.1.0.tgz","integrity":"sha512-gyRqo9smuurcd4b5Dq2dQFo3nrkYvY/oMT6AZDlSCIeILxTtZ8V4PVNRniad7df1sTkcYoIWPg8ouVpj8ZORrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICSAX0np93giZa+mM3gBSOzB1U47pq9E8Kb9wQy4eYPJAiEAk0JOLwfLSR/t6k8H464U/BbFBQNWl1MiYoYILpxSkr8="}]},"maintainers":[{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"}]},"1.1.1":{"name":"alternative-pdf-combine","version":"1.1.1","description":"Alternative approach to combine pdf's (doesn't support windows, requires poppler on linux)","main":"combinePdfs.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"alternative-pdf-combine":"bin/alternative-pdf-combine"},"keywords":["pdf","combine"],"author":{"name":"Martin Heidegger","email":"martin.heidegger@gmail.com"},"license":"ISC","dependencies":{"command-exists":"^0.1.0"},"gitHead":"89d57e44c034f8c97ad9b14b2a9a3b9689453c90","_id":"alternative-pdf-combine@1.1.1","_shasum":"0d7ea90ba40df0ad71e82556381433e593fc4bb0","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"},"dist":{"shasum":"0d7ea90ba40df0ad71e82556381433e593fc4bb0","tarball":"https://registry.npmjs.org/alternative-pdf-combine/-/alternative-pdf-combine-1.1.1.tgz","integrity":"sha512-E9fCL65PQDSqBdbB89bJZpVjGmsJLIIOokgt9jogGWudwUmhQnQmFwJJ29bkFqO04eI8DQUTYjelnkR4kR5BoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBnwcqSiV+fRvLF8D2RIluaZEUzmCa/uqLxoURdWG+PWAiEAzuHM/lcL0xD8ocJLy8Bmd6Imn1SUkfNwAh8OjrDsihY="}]},"maintainers":[{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"}]},"1.1.2":{"name":"alternative-pdf-combine","version":"1.1.2","description":"Alternative approach to combine pdf's (doesn't support windows, requires poppler on linux)","main":"combinePdfs.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"alternative-pdf-combine":"bin/alternative-pdf-combine"},"keywords":["pdf","combine"],"author":{"name":"Martin Heidegger","email":"martin.heidegger@gmail.com"},"license":"ISC","dependencies":{"command-exists":"^0.1.0"},"gitHead":"c088221ddd713bdeba90a6ed4695cc74d79568cb","_id":"alternative-pdf-combine@1.1.2","_shasum":"bf76fa6fc254a3ec2d18834e3cf55a9c6f438900","_from":".","_npmVersion":"3.3.9","_nodeVersion":"5.0.0","_npmUser":{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"},"dist":{"shasum":"bf76fa6fc254a3ec2d18834e3cf55a9c6f438900","tarball":"https://registry.npmjs.org/alternative-pdf-combine/-/alternative-pdf-combine-1.1.2.tgz","integrity":"sha512-gwN0Uc7rPPqKeFezwlSrYM50KW2ewQ8BEvQ2lrIfVSsk59jbI+q7HySw2u6qsp7CQNiGUhoE9zO9TtVtlvxqkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5raQFEpnvkibzO1VCDu6YOKqiwp6tn4h69VBNmTZXSQIgcDILi01ms4uzM7HJl78N6S0LwEHjq9Bsln5DPR+bXDc="}]},"maintainers":[{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"}]},"1.1.3":{"name":"alternative-pdf-combine","version":"1.1.3","description":"Alternative approach to combine pdf's (doesn't support windows, requires poppler on linux)","main":"combinePdfs.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"alternative-pdf-combine":"bin/alternative-pdf-combine"},"keywords":["pdf","combine"],"author":{"name":"Martin Heidegger","email":"martin.heidegger@gmail.com"},"license":"ISC","dependencies":{"command-exists":"^0.1.0"},"gitHead":"f7e59e8291072d4f8f00da378589625b2ac0a80e","_id":"alternative-pdf-combine@1.1.3","_shasum":"65a8c3de902669453edf160e2ea6dc6e6824f57a","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"},"dist":{"shasum":"65a8c3de902669453edf160e2ea6dc6e6824f57a","tarball":"https://registry.npmjs.org/alternative-pdf-combine/-/alternative-pdf-combine-1.1.3.tgz","integrity":"sha512-mo7+MMQZ6jPlOzoguBMxefERt86dScbVBqg9APj/b6+6EBV7R/xLeU2ppFa7swb9gqAkRy0AE965AqVLZQSNdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXlKT4XcCcsu/oc7eShtcdvP/uce0KUwifJsMb348kUQIgU86nfwb5qnzK72w2yz3i979vURr4RWH53g52zLpBsbk="}]},"maintainers":[{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/alternative-pdf-combine-1.1.3.tgz_1457315762399_0.18323262478224933"}},"1.1.4":{"name":"alternative-pdf-combine","version":"1.1.4","description":"Alternative approach to combine pdf's (doesn't support windows, requires poppler on linux)","main":"combinePdfs.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"alternative-pdf-combine":"bin/alternative-pdf-combine"},"keywords":["pdf","combine"],"author":{"name":"Martin Heidegger","email":"martin.heidegger@gmail.com"},"license":"ISC","dependencies":{"command-exists":"^1.0.1"},"gitHead":"b60d4ca99fa23bd30bb5e72ec8da5cddd9e76bf3","_id":"alternative-pdf-combine@1.1.4","_shasum":"8cbde677d325822939b316c6fbb8577c5016bc16","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.0","_npmUser":{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"},"dist":{"shasum":"8cbde677d325822939b316c6fbb8577c5016bc16","tarball":"https://registry.npmjs.org/alternative-pdf-combine/-/alternative-pdf-combine-1.1.4.tgz","integrity":"sha512-NJ/w/YGSPAUA8bTNanGfMKQusNqiNpVJiVIXbzBJcd1fqFQSx+0JGuDIYoD4Pq39wAHBJGe85NKP0DlCuAc3xA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiNmKb9RQQ1cpYG69qv4q5hNSnOP6bYWnCAZjm72GguQIgMdp1gMRK0OvfcUtOy7qQZbuYoWMT/YuC6ywaeoo9StE="}]},"maintainers":[{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/alternative-pdf-combine-1.1.4.tgz_1464918150031_0.951834075152874"}},"1.1.5":{"name":"alternative-pdf-combine","version":"1.1.5","description":"Alternative approach to combine pdf's (doesn't support windows, requires poppler on linux)","main":"combinePdfs.js","scripts":{"test":"standard && tap -- test/combinePdfs.js","lint":"standard","quick":"tap -- test/combinePdfs.js"},"bin":{"alternative-pdf-combine":"bin/alternative-pdf-combine"},"keywords":["pdf","combine"],"author":{"name":"Martin Heidegger","email":"martin.heidegger@gmail.com"},"license":"ISC","dependencies":{"command-exists":"^1.0.1"},"devDependencies":{"standard":"^7.1.1","tap":"^5.7.2"},"gitHead":"e3b9bdfef132963b3cea54cbfb9644de4657cd66","_id":"alternative-pdf-combine@1.1.5","_shasum":"0c566ece3e7d691a3c0197b1818b3121d1033caf","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.0","_npmUser":{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"},"dist":{"shasum":"0c566ece3e7d691a3c0197b1818b3121d1033caf","tarball":"https://registry.npmjs.org/alternative-pdf-combine/-/alternative-pdf-combine-1.1.5.tgz","integrity":"sha512-dyjpjLq0Q7fGA8HtKddFo6r7L6aKvYRuoHNF0b4bAhPANzLIR3Hh+kW9Xybas7d+43+BvA5+UcTTjbo91p5sjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVygaDHd3jYRsoEoLHfRyEGVAYzLS0F7P4mp/kEzyLcgIhANa6Y2Jp16OOalcyQrQeOGSia0HXBTn5aLV//6nDGjFo"}]},"maintainers":[{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/alternative-pdf-combine-1.1.5.tgz_1464926673558_0.7042030154261738"}},"1.1.6":{"name":"alternative-pdf-combine","version":"1.1.6","description":"Alternative approach to combine pdf's (doesn't support windows, requires poppler on linux)","main":"combinePdfs.js","scripts":{"test":"standard && tap -- test/combinePdfs.js","lint":"standard","quick":"tap -- test/combinePdfs.js"},"bin":{"alternative-pdf-combine":"bin/alternative-pdf-combine"},"keywords":["pdf","combine"],"author":{"name":"Martin Heidegger","email":"martin.heidegger@gmail.com"},"license":"ISC","dependencies":{"command-exists":"^1.0.1"},"devDependencies":{"standard":"^7.1.1","tap":"^5.7.2"},"gitHead":"8c75a8e5acd70d987039f1219d68f411ee48e703","_id":"alternative-pdf-combine@1.1.6","_shasum":"580576aae4fad9d3f9606158efc8b6f049c44455","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.0","_npmUser":{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"},"dist":{"shasum":"580576aae4fad9d3f9606158efc8b6f049c44455","tarball":"https://registry.npmjs.org/alternative-pdf-combine/-/alternative-pdf-combine-1.1.6.tgz","integrity":"sha512-4QJoq2nxhQ6+7iHh5Ld9lus4mnNhiNyFJvoNCHEIgUYhHLi/gCSmkP7wgIK2fzaCjxAkssNCXzlD0dQuUajC4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGCfu4j3uug17R50c1mfHv4Cq/VNVr1rCMS87ixvyd5QAiB6OFFJSCpzeoK1zoUpACgPOj/R9aIPUirh5dT99kRtRg=="}]},"maintainers":[{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/alternative-pdf-combine-1.1.6.tgz_1464928218986_0.8120891158469021"}}},"readme":"# alternative-pdf-combine\n\nThere are various tools in the npm that allow for combining pdf's this tool is limited to Mac & Linux but it\nshould work on macs out-of-the-box and on linux by using poppler`s `pdfunite`. This tool is by no means well\ntested use on own risk!\n\n\n## As a command line tool\n\nInstall it using `npm i alternative-pdf-combine -g` and then run \n\n```bash\n$ Usage: alternative-pdf-combine out.pdf in1.pdf ... inx.pdf\n```\n\n\nTo enable a debug output you can set the environment variable `DEBUG_ALTERNATIVE_PDF_COMBINE=true`.\n\n## As a JavaScript package\n\nAfter installing the package with `npm i alternative-pdf-combine` you can use it like this.\n\n```javascript\n\nvar combinePdfs = require('alternative-pdf-combine')\ncombinePdfs([\n\tfs.readFileSync('pdf1.pdf'),\n\t{file: 'pdf2.pdf'}, // will automatically call fs.readFileSync\n\tnew Buffer('...'),  // will use this buffer\n\t'...', // will be converted to Buffer using new Buffer(txt)\n\t{text: '...', encoding: 'utf8'} // will convert the  text to a buffer using new Buffer(obj.text, obj.encoding)\n], function (err, combinedBuffer) {\n\tif (err) {\n\t\tconsole.log(err)\n\t\tprocess.exit(1)\n\t}\n\tfs.writeFile('test_out.pdf', combinedBuffer, function (err) {\n\t\tif (err) {\n\t\t\tconsole.log(err)\n\t\t\tprocess.exit(1)\n\t\t}\n\t\tconsole.log(out)\n\t})\n})\n\n```\n\n## Mac & PDF Unite\n\nBy default, on Mac, it will try to use mac's pdf combination. But it will use `pdfunite` if installed on a mac since\nits way faster and creates smaller files. You can install pdfunite on mac using [homebrew](http://brew.sh/): `brew install poppler`\n\nIf you wish to always use Mac's pdf combination solution set the environment variable:\n`ALTERNATIVE_PDF_COMBINE_OVERRIDE_PDFUNITE=true`\n\n\n## Contribution\n\nContributions and improvements welcome!\n","maintainers":[{"name":"leichtgewicht","email":"martin.heidegger@gmail.com"}],"time":{"modified":"2022-06-13T02:42:06.325Z","created":"2015-12-24T01:58:01.620Z","1.0.0":"2015-12-24T01:58:01.620Z","1.0.1":"2015-12-24T02:11:26.720Z","1.1.0":"2015-12-24T02:37:09.024Z","1.1.1":"2015-12-24T02:50:37.673Z","1.1.2":"2015-12-24T03:43:21.201Z","1.1.3":"2016-03-07T01:56:03.854Z","1.1.4":"2016-06-03T01:42:32.675Z","1.1.5":"2016-06-03T04:04:39.472Z","1.1.6":"2016-06-03T04:30:19.639Z"},"keywords":["pdf","combine"],"author":{"name":"Martin Heidegger","email":"martin.heidegger@gmail.com"},"license":"ISC","readmeFilename":"Readme.md"}