Skip to content

Commit

Permalink
Update basic.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
victorsoares96 committed May 24, 2023
1 parent 1731f9d commit 6a47815
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions examples/basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ import path from 'path';
import fs from 'fs';
import { compress } from '@/index';

/**
* Before 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);
Expand Down

0 comments on commit 6a47815

Please sign in to comment.