From 1066a4fc57dd8368e53387cc1af20be5ee589212 Mon Sep 17 00:00:00 2001 From: Tomas Rutkauskas Date: Fri, 6 Nov 2026 16:40:41 +0200 Subject: [PATCH] docs: link each example file from the README The README linked the examples only through the folder URL (/tree/main/...). https://github.com/robots.txt disallows /*/tree/ for Googlebot (User-agent: *) and for the AI crawlers, so search engines never read the folder listing. Each example file is now also linked by its /blob/ URL, which they may crawl. Co-Authored-By: Claude Opus 5.5 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 3d701ff..51aa59c 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,16 @@ var convertapi = require('../lib')(process.env.API_TOKEN, { baseUri: 'https://eu Find more advanced examples in the [examples/](https://github.com/ConvertAPI/convertapi-library-node/tree/main/examples) folder. +- [conversion_chaining.js](https://github.com/ConvertAPI/convertapi-library-node/blob/main/examples/conversion_chaining.js) - Chain two conversions: PDF to JPG images, then the images to a ZIP +- [convert_base64_content.js](https://github.com/ConvertAPI/convertapi-library-node/blob/main/examples/convert_base64_content.js) - Convert base64-encoded content to PDF using a buffer and a stream +- [convert_stream.js](https://github.com/ConvertAPI/convertapi-library-node/blob/main/examples/convert_stream.js) - Convert a readable file stream (DOCX) to PDF +- [convert_url_to_pdf.js](https://github.com/ConvertAPI/convertapi-library-node/blob/main/examples/convert_url_to_pdf.js) - Convert a web page URL to PDF +- [convert_word_to_pdf_and_png.js](https://github.com/ConvertAPI/convertapi-library-node/blob/main/examples/convert_word_to_pdf_and_png.js) - Convert one Word DOCX file to PDF and to PNG, uploading it only once +- [create_pdf_thumbnail.js](https://github.com/ConvertAPI/convertapi-library-node/blob/main/examples/create_pdf_thumbnail.js) - Turn the first page of a PDF into a JPG thumbnail +- [get_result_file_stream.js](https://github.com/ConvertAPI/convertapi-library-node/blob/main/examples/get_result_file_stream.js) - Convert a web page to PDF and read the result file into a stream +- [retrieve_user_information.js](https://github.com/ConvertAPI/convertapi-library-node/blob/main/examples/retrieve_user_information.js) - Retrieve your ConvertAPI account information +- [split_and_merge_pdf.js](https://github.com/ConvertAPI/convertapi-library-node/blob/main/examples/split_and_merge_pdf.js) - Split a PDF and merge its first and last pages into a new PDF + ## Development Commands - `npm run clean` - Remove the `lib/` directory