From 1731f9d210140a186a94626b681417b32375eade Mon Sep 17 00:00:00 2001 From: Victor Soares Date: Wed, 24 May 2023 15:14:58 -0300 Subject: [PATCH] :memo: docs: update readme --- README.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/README.md b/README.md index 16b9299..d0ab248 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,6 @@ This library provides compress your PDFs using ghostscript ## Installation -Download ghostscript binaries available in releases page inside this repository. Example name: `gs_10.01.linux/windows.zip` or run: `npx compress-pdf --fetchBinaries [win32/linux]` to download binaries to inside **lib_folder/bin/gs** - -Then, extract and appoint: - ```sh npm install compress-pdf ``` @@ -23,12 +19,6 @@ import path from 'path'; import fs from 'fs'; import { compress } from 'compress-pdf'; -/** - * After this run: - * `npx compress-pdf --fetchBinaries [win32/linux]` - * This will download properly binaries to your current os. - */ - (async () => { const pdf = path.resolve(__dirname, 'A17_FlightPlan.pdf'); const buffer = await compress(pdf);