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));
-
Notifications
You must be signed in to change notification settings - Fork 0
poode/file-string-replacer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
replace string list in file with another string list
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published