Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.log('Hello, starting point of my app');
- const fs = require('fs');
- const os = require('os');
- const notes = require('./notes.js'); //see using the relative path here
- var user = os.userInfo();
- fs.appendFileSync('greetings-user', `Hello ! ${user.username}`);
Add Comment
Please, Sign In to add comment