The build identifier (the bit after +
in the semantic version string) as an array of strings, or an empty array if it doesn't exist
The parsed version string with prerelease version and build identifier (the bit after +
in the version string) if they exists
The major version number
The minor version number
The patch version number
The prerelease version number as an array of strings and/or numbers, or an empty array if it doesn't exist
The parsed version string with prerelease version if it exists, but without build identifier (the bit after +
in the version string)
A parsed version object as returned by
parse()
Example