Skip to content

poode/file-string-replacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replace String List With Another String List In Same File

Usage

const { replaceStrList } = require('replace-string-in-file')

strFromList = [
  'اهلا بك  , هل تريد طلب ما ؟',
  'Hi , Do you want to make order ?',
];

strToList = [
  'replaced string عربي كمان',
  'replaced string عربي كمان',
];

replaceStrList({
  filePath: '/tmp/file.rive',
  strFromList,
  strToList,
}).catch(e => console.log(e));

About

replace string list in file with another string list

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published