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?
1 answers
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
Hot tools Tags
Hot Questions
Popular tool
vc9-vc14 (32+64 bit) runtime library collection (link below)
Download the collection of runtime libraries required for phpStudy installation
VC9 32-bit
VC9 32-bit phpstudy integrated installation environment runtime library
PHP programmer toolbox full version
Programmer Toolbox v1.0 PHP Integrated Environment
VC11 32-bit
VC11 32-bit phpstudy integrated installation environment runtime library
SublimeText3 Chinese version
Chinese version, very easy to use
Hot Topics
20532
7
13639
4






