Readline is another Node.js native module that was developed specifically for this purpose — reading one line at a time from any readable stream. You can even use this module to read input data from the command line.Here is how you can access it in your code (no installation required):const readline = require('readline'); Since readline module works with readable streams, we have to first create a stream by using the fs module like below:const rl = readline.createInterface({ input: fs.createReadStream('file.t... ......
var options= File.ReadAllText("options.json");
var optionsObj= JObject.Parse(options);
value= Convert.ToString(optionsObj["key"]);