![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Create ISDOC.PDF (PDF/A-3 with ISDOC attachment), create ISDOCX (ZIP archive with PDF and ISDOC) or extract ISDOC from PDF - Czechia's standard invoice format for data exchange
ISDOC is an XML Invoicing Standard for the Czech Republic.
This library can:
It also provides Node.js API for ISDOC format, see node-isdoc, incl. XSD xchema validation.
npm i isdoc-pdf
To create ISDOC.PDF (PDF/A-3B with ISDOC attached), this package depends on Bash-like shell and Ghostscript, see isdoc-pdf (bash).
Extract ISDOC from existing PDF
import { hasISDOC, extractISDOC } from 'isdoc-pdf'
const plainInvoice = await fs.readFile('invoice.pdf'),
isdocInvoice = await fs.readFile('invoice.isdoc.pdf')
await hasISDOC(plainInvoice)
// -> false
await hasISDOC(isdocInvoice)
// -> true
await extractISDOC(plainInvoice)
// -> null
await extractISDOC(isdocInvoice)
// -> Invoice { DocumentType: number, ID: string, IssueDate: Date, ... }
Create ISDOC.PDF (attach ISDOC to PDF and convert into PDF/A-3)
import { attachISDOC } from 'isdoc-pdf'
const invoice = await fs.readFile('invoice.pdf'),
isdoc = await fs.readFile('invoice.isdoc')
const pdfa = await attachISDOC(invoice, isdoc)
// -> Buffer with PDF/A-3
Create ISDOC.PDF with a new Invoice
import { Invoice, attachISDOC } from 'isdoc-pdf'
const isdoc = new Invoice({
DocumentType: 1,
ID: '2022123456',
... // see https://github.com/deltazero-cz/node-isdoc
})
const pdf = await fs.readFile('invoice.pdf')
const pdfa = await attachISDOC(pdf, isdoc)
// -> Buffer with PDF/A-3
Create IDDOCX archives (ZIP archives with PDF and ISDOC)
import { createISDOCX } from 'isdoc-pdf'
const invoice = await fs.readFile('invoice.pdf'),
isdoc = await fs.readFile('invoice.isdoc')
const isdocx = await createISDOCX(invoice, invoice)
// -> Buffer with ISDOCX (ZIP archive)
Create IDDOCX with a new Invoice
import { Invoice, createISDOCX } from 'isdoc-pdf'
const isdoc = new Invoice({
DocumentType: 1,
ID: '2022123456',
... // see https://github.com/deltazero-cz/node-isdoc
})
const pdf = await fs.readFile('invoice.pdf')
const isdocx = await createISDOCX(pdf, isdoc)
// -> Buffer with ISDOCX (ZIP archive)
FAQs
Create ISDOC.PDF (PDF/A-3 with ISDOC attachment), create ISDOCX (ZIP archive with PDF and ISDOC) or extract ISDOC from PDF - Czechia's standard invoice format for data exchange
The npm package isdoc-pdf receives a total of 110 weekly downloads. As such, isdoc-pdf popularity was classified as not popular.
We found that isdoc-pdf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.