6 lines
134 B
JavaScript
6 lines
134 B
JavaScript
const { fs } = require('memfs');
|
|
|
|
fs.writeFileSync('/hello.txt', 'Hello World');
|
|
|
|
console.log(fs.readFileSync('/hello.txt', 'utf8'));
|