![]() ![]() In semantic versioning, each version is represented by three numbers separated by dots. Node.js uses semantic versioning to version the packages. These symbols are used by NPM to decide which version of a package to install. If you take a look at the package.json file, you will notice one thing, just before the version number, you will find symbols like tilde, caret, etc. In the package.json file, you will find a list of packages along with their versions under the dependencies section. ![]() Core dependency is the package without which the project cannot operate properly. One such piece of information is the core dependencies of the project. The package.json file contains information about your Node.js project. What is tilde (~) and caret (^) in package.json?
0 Comments
Leave a Reply. |