Technical test for spendesk - extract a valid VAT number from a PDF file.
Launch the following command in the project directory :
npm install
Launch the following commands in the project directory.
node index.js PARSABLE_PDF_FILE <COMMA_SEPARATED_EXCLUDED_VAT_NUMBERS>
npm start
Then open http://localhost:3000
It's easy, just run npm test
. The tests are written in BDD style, so they are a good starting
point to understand the code. Mocha is required though (sudo npm install mocha -g
)