-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ efficient and high-quality PDF manipulation. | |
To install `pdfrex` as a CLI tool, run: | ||
|
||
```bash | ||
deno install --global --allow-read --allow-write jsr:@jackfiszr/[email protected].4 | ||
deno install --global --allow-read --allow-write jsr:@jackfiszr/[email protected].5 | ||
``` | ||
|
||
This command installs `pdfrex` globally, enabling the `pdfrex` command with | ||
|
@@ -119,7 +119,7 @@ directly. | |
### Merge PDFs | ||
|
||
```typescript | ||
import { mergeAll, mergePdfs } from "jsr:@jackfiszr/[email protected].4"; | ||
import { mergeAll, mergePdfs } from "jsr:@jackfiszr/[email protected].5"; | ||
|
||
// Merge all PDFs in the current directory | ||
await mergeAll(); | ||
|
@@ -136,7 +136,7 @@ await mergePdfs(["file1.pdf", "file2.pdf", "file3.pdf"], { | |
### Split PDFs | ||
|
||
```typescript | ||
import { splitAll, splitPdf } from "jsr:@jackfiszr/[email protected].4"; | ||
import { splitAll, splitPdf } from "jsr:@jackfiszr/[email protected].5"; | ||
|
||
// Split all PDFs in the current directory | ||
await splitAll(); | ||
|
@@ -148,11 +148,11 @@ await splitPdf("document.pdf", { outputDir: "./pages", prefix: "page" }); | |
### Adding to a Node.js project | ||
|
||
```bash | ||
npx jsr add @jackfiszr/[email protected].4 | ||
npx jsr add @jackfiszr/[email protected].5 | ||
``` | ||
|
||
```javascript | ||
import { mergePdfs, splitPdf } from "@jackfiszr/[email protected].4"; | ||
import { mergePdfs, splitPdf } from "@jackfiszr/[email protected].5"; | ||
``` | ||
|
||
## Contributing | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@jackfiszr/pdfrex", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"exports": "./mod.ts", | ||
"imports": { | ||
"@cliffy/command": "jsr:@cliffy/[email protected]", | ||
|