Functions§
- GET request will return the contents of the log file for display on the UI or access elsewhere.
- GET request will return a version string, located in the env variable VERSION
- Returns a formatted string containing the file’s creation date or “01011900” if unable to determine.
- Returns a formatted filename or the string “null” if unable to determine.
- Returns a simple numeric value of the pages in the PDF, based on what lopdf gives us from its metadata
- Returns a formatted string containing a plain english representation of a file’s size. (eg: “125k”)
- Returns the image file that corresponds to the input file. (strips the extension and path and then just returns it as
.png)