4 lines
120 B
JavaScript
4 lines
120 B
JavaScript
const fs = require('fs');
|
|
process.on('message', function (file) {
|
|
process.send(fs.readFileSync(file).toString());
|
|
});
|