Extract read time, pages and metadata of pdf files in litterarum server.
npm install pdf-metadataExtract metadata, pages and read time from pdf file.
``bash`
npm install pdf-metadata
typescript async with pdf file in a server
`typescript
import { extractMetadataAndPages } from 'pdf-metadata';
const fileUrl = 'https://litterarum.onrender.com/api/v1/files/las-mil-y-una-noches.pdf'
const info = await extractMetadataAndPages(fileUrl);
console.log(info) // Here we got metadata
``