get-username

get the username of the current user in javascript


Keywords
username, Random, Random Username, batch, cplusplus, cpp, inno-setup, javascript, javascript-scripts
License
ISC
Install
npm install get-username@1.2.0

Documentation

get-username

this README may be outdated, so check here for correct information

use

i recommend installing it into your project directory this way you can access it within your project. you could treat it like a node module

once, installed, use the child_process node module (npm install child_process) to launch the start.cmd file.

once the start.cmd is launched the c++ program will get the user and write it to username.txt.

in username.txt you will find your username. you can read this text file using node's file system module.

that's it!