tilde (~) and a caret (^) in a npm package.json file
What is tilde (~) and a caret (^) in an npm package.json file? If you are using npm to manage your app, then you know that we will use package.json for managing dependencies. sample package.json file So as we can see in the above sample package.json file we have some dependencies & dev dependencies as well, now let's go close to dependencies and try to understand the meaning of tilde & caret symbols. { "devDependencies": { "@angular/common": "5.0.0", "cordova-plugin-splashscreen": "^5.0.3", }, "devDependencies": { "@ionic/app-scripts": "3.2.4", "@types/chart.js": "^2.7.37", "typescript": "~2.6.2" } } As we can see above JSON from the package.json file, key is the name of the package and the value is the version of the package to be used. The version number is in semver syntax which designates each s...