Is it necessary to use .properties as a configuration file in nodejs?
I learned about .properties in the java project. As a project configuration file, you only need to modify the content after the equal sign to configure the project without changing the code, which is very useful. But in nodejs projects, you can use json files as configuration files. Why do some projects still use .properties? Is it because I am used to writing Java in the past, or is .properties more convenient than json files?
There is definitely no absolute format for the configuration file. Whichever is more convenient to use? If some projects still use .properties, it may be for historical reasons. For example, it was like this when this project was created, or some existing The program depends on this configuration file and so on