print-lib
Export a GitHub repository's source code as Word documents or PDFs for offline reading.
- Built with
- Node.js, Python
const { printLib } = require("print-lib");
(async () => {
const url = "https://github.com/Zen-cronic/scope-logger/tree/main/src";
await printLib({
link: url,
linkType: "recursive",
auth: process.env.API_ACCESS_TOKEN,
userAgent: "Zen-cronic",
convertTo: "pdf",
});
})();