cv-validator
v1.0.9
Published
this is cv validator which accepts buffer and file
Downloads
35
Maintainers
Readme
CV VALIDATOR
this package accepts both buffer and file itself and validates if it's cv or not
Usage
From File
const { fromFile } = require("cv-validator");
let isCv = fromFile(); // pass your file here
From Buffer
const { fromBuffer } = require("cv-validator");
let isCv = fromBuffer(); // pass your Buffer here
Returns Boolean true or false
Accepted File Types
- application/msword
- application/pdf
- text/rtf
- text/plain
- odf
- application/vnd.openxmlformats-officedocument.wordprocessingml.document
- application/vnd.oasis.opendocument.text-template