Skip to content

Tool written in Javascript to change hostnames inside files you define inside a string array.

License

Notifications You must be signed in to change notification settings

veslav3/ipv4-hostname-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPV4-tool

This tool is written in Node.js to automatically replace hostnames inside a set of files. These files can be configured inside an array of strings.

You can change the following code to specify the files you'd like to change with this tool:

const filesToReplace = [
    './App.tsx',
    './Test.tsx'
];

Usage

Run this to replace ipv4 with localhost:

node replace-ipv4.js

Run this to replace localhost with ipv4:

node replace-localhost.js

Further development

If anyone can make a Python version of this program feel free to send a pullrequest from this branch: https://github.com/veslav3/ipv4-hostname-tool/tree/python

About

Tool written in Javascript to change hostnames inside files you define inside a string array.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published