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