-
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
1 changed file
with
12 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -11,7 +11,8 @@ efficient and high-quality PDF manipulation. | |
- **Merge PDFs**: Combine multiple PDFs into one. | ||
- **Split PDFs**: Separate a PDF into individual pages. | ||
- **Flexible CLI**: Easily execute PDF operations from the command line. | ||
- **Programmatic Use**: Import `pdfrex` functions directly in Deno projects. | ||
- **Programmatic Use**: Import `pdfrex` functions directly in Deno (or Node) | ||
projects. | ||
|
||
## Installation | ||
|
||
|
@@ -141,6 +142,16 @@ await splitAll(); | |
await splitPdf("document.pdf", { outputDir: "./pages", prefix: "page" }); | ||
``` | ||
|
||
### Adding to a Node.js project | ||
|
||
```bash | ||
npx jsr add @jackfiszr/[email protected] | ||
``` | ||
|
||
```javascript | ||
import { mergePdfs, splitPdf } from "@jackfiszr/[email protected]"; | ||
``` | ||
|
||
## Contributing | ||
|
||
Contributions, issues, and feature requests are welcome! Feel free to check out | ||
|