|
9 | 9 | [](https://www.typescriptlang.org/) |
10 | 10 | [](https://nodejs.org/) |
11 | 11 | [](BROWSER.md) |
12 | | -[](https://github.com/pdfstudio-dev/pdfstudio) |
| 12 | +[](https://github.com/pdfstudio-dev/pdfstudio) |
| 13 | +[](https://eslint.org/) |
| 14 | +[](https://prettier.io/) |
13 | 15 |
|
14 | 16 | [Features](#-features) • [Quick Start](#-quick-start) • [Browser Support](#-browser-support) • [Examples](#-examples) • [API](#-api-reference) • [Documentation](#-documentation) |
15 | 17 |
|
@@ -58,7 +60,7 @@ doc.save('sales-report.pdf') |
58 | 60 |
|
59 | 61 | ### Key Differentiators |
60 | 62 |
|
61 | | -| Feature | PDFStudio v0.3.3 | PDFKit | jsPDF | pdfmake | |
| 63 | +| Feature | PDFStudio v0.3.4 | PDFKit | jsPDF | pdfmake | |
62 | 64 | |---------|------------------|--------|-------|---------| |
63 | 65 | | **Browser Support** | ✅ **Native** | ❌ Node only | ✅ | ✅ | |
64 | 66 | | **Node.js Support** | ✅ | ✅ | ⚠️ Limited | ✅ | |
@@ -1461,18 +1463,26 @@ cd pdfstudio |
1461 | 1463 | npm install |
1462 | 1464 |
|
1463 | 1465 | # Run tests |
1464 | | -npm test # Run all 180 tests |
| 1466 | +npm test # Run all 684 tests |
1465 | 1467 |
|
1466 | 1468 | # Build |
1467 | 1469 | npm run build # Compile TypeScript |
1468 | 1470 |
|
1469 | 1471 | # Development |
1470 | 1472 | npm run dev # Watch mode |
1471 | 1473 |
|
| 1474 | +# Code quality |
| 1475 | +npm run lint # Run ESLint |
| 1476 | +npm run lint:fix # Auto-fix lint issues |
| 1477 | +npm run format # Format with Prettier |
| 1478 | +npm run format:check # Check formatting |
| 1479 | + |
1472 | 1480 | # Run examples |
1473 | 1481 | npm run examples # Generate all example PDFs |
1474 | 1482 | ``` |
1475 | 1483 |
|
| 1484 | +> **Note:** Pre-commit hooks (husky + lint-staged) automatically run ESLint and Prettier on staged files. |
| 1485 | +
|
1476 | 1486 | --- |
1477 | 1487 |
|
1478 | 1488 | ## 📋 Requirements |
|
0 commit comments