update: purchase.routes.ts pour fonction avec pdf-parse.ts

on peut maintenant envoyer des fichier pdf sur un form et il renvoie un json avec les informations du pdf. dans /new-purchase
This commit is contained in:
Lazanimady Andrianirindrainy
2026-06-23 23:46:52 +02:00
parent 93a1aab86a
commit dbdebae45e
3 changed files with 17 additions and 9 deletions

10
package-lock.json generated
View File

@@ -635,6 +635,16 @@
"node": ">=8"
}
},
"node_modules/dezalgo": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz",
"integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==",
"license": "ISC",
"dependencies": {
"asap": "^2.0.0",
"wrappy": "1"
}
},
"node_modules/diff": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.4.tgz",