Difference between tilde (~) and caret (^) in package.json

InstructorWill Button

Share this video with your friends

Send Tweet

As a beginning node.js user, you will often see the tilde (~) or caret (^) in front of the version number for dependencies managed by your package.json file. In this lesson, you will learn what each means, when to use it, the implications of each and a brief introduction to Semantic Versioning.