Skip to content

Replaces all instances of a string with another in every file in a directory and its subdirectories.

Notifications You must be signed in to change notification settings

NavidJalali/RecursiveReplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

RecursiveReplace

Looks for every file in a specified directory and all subdirectories, and replaces a set of strings with another set of strings.

How To Use

const replacer = require("./Replacer");
// Every instance of apple turns into duck
// Every instance orange turns into dog
replacer("./TestData", {
    "apple": "duck",
    "orange": "dog"
});

About

Replaces all instances of a string with another in every file in a directory and its subdirectories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published