This package merges an array of PDF buffers into one single PDF buffer
npm i merge-pdf-buffers
ES5:
const { merge } = require('merge-pdf-buffers');
const merged = await merge([buff1, buff2, ...]);
ES6:
import { merge } from 'merge-pdf-buffers';
const merged = await merge([buff1, buff2, ...]);