Closed ghost closed 3 years ago
Basically I'm using this code in index.js:
index.js
const fs = require("fs"); var EuropassParser = require('europass-parser'); var file=fs.readFileSync("resume.pdf"); EuropassParser(file);
and executing with node index.js I receive this error:
node index.js
ReferenceError: window is not defined
Is possible to use the class in a "pure" Node environment? It is documented?
Basically I'm using this code in
index.js
:and executing with
node index.js
I receive this error:Is possible to use the class in a "pure" Node environment? It is documented?