Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

replace data in files in node.js

const fs = require("fs");
let text = fs.readFileSync("dele.txt", "utf-8");
text = text.replace("browser", "Rohan");
Source by codewithharry.com #
 
PREVIOUS NEXT
Tagged: #replace #data #files
ADD COMMENT
Topic
Name
3+1 =