Appendix B. npm packages used in this book

 

One of the joys of using Node is the huge abundance of brilliant packages, only an npm install away from you! This book discusses a large number of packages. I’ve tried my best to introduce them within the text and point you to the right place to find out a little more. There are so many, though, that you’re undoubtedly going to forget some along the way. Therefore, I thought it would be helpful to readers to have a central reference with a list of all the packages used within this book, including the version numbers that work with the examples in the book.

Please come back here anytime you’re wondering what on earth Poop does or which version of Inert you’re supposed to be installing.

B.1 A quick word about version numbers and Semver

You may be wondering what 2.x.x or 1.0.x means. All packages on npm have a version associated with them, such as 2.4.5. This version number has parts separated by a period. The version numbering for npm packages is supposed to follow the Semver (semantic-versioning) rules (http://semver.org). Here are the basic rules of Semver for package maintainers:

Given a version number MAJOR.MINOR.PATCH, increment the:

1.  MAJOR version when you make incompatible API changes,

2.  MINOR version when you add functionality in a backwards-compatible manner, and

3.  PATCH version when you make backward-compatible bug fixes.