local_file_output
v1.2.0
Published
``` /* create a file name like 'index.js' or any paste following code in it './src' is you path where you want to read files save 'index.js' and run it use terminal run: node index.js you will get a file named 'output.txt' in your current dir
Downloads
7
Readme
How to use local_file_output
/*
create a file name like 'index.js' or any
paste following code in it
'./src' is you path where you want to read files
save 'index.js' and run it
use terminal run: node index.js
you will get a file named 'output.txt' in your current directory
@src: 'file path'
@oldpath:'project path' (optional) exp:'D:\\local\\file\\your-dir-name\\'
@replacement:'your replacement' (optional) exp:'www.google.com'
*/
const fileread = require('local_file_output')
fileread('./src')
//fileread('./src','D:\\local\\file\\your-dir-name\\','www.google.com')