What is the bower (and npm) version syntax?

Bower enables me to specify version requirements for packages using the following syntax: “dependencies”: { “<name>”: “<version>”, }, But I have not been able to find what is the syntax to use for the <version>. I know that I can specify versions to be: greater than a certain version with “>1.0.0” greater than or equal … Read more

What’s the difference between tilde(~) and caret(^) in package.json?

After I upgraded to the latest stable node and npm, I tried npm install moment –save. It saves the entry in the package.json with the caret ^ prefix. Previously, it was a tilde ~ prefix. Why are these changes made in npm? What is the difference between tilde ~ and caret ^? What are the … Read more