Skip to content

Instantly share code, notes, and snippets.

@swinton
Created September 24, 2015 21:22
Show Gist options
  • Save swinton/434bd7105c1c325d7228 to your computer and use it in GitHub Desktop.
Save swinton/434bd7105c1c325d7228 to your computer and use it in GitHub Desktop.

Version numbers in npm follow a standard called "SemVer". This stands for "Semantic Version". The specification for this standard can be found at http://semver.org.

The tl;dr version is that for a version like this:

  1.2.3
  ^ ^ ^
  | | `-- Patch version. Update for every change.
  | `---- Minor version. Update for API additions.
  `------ Major version. Update for breaking API changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment