version string
OptionaloptionsOrLoose: boolean | Optionsan options object { loose } (where loose is the only available option) or a boolean indicating whether to enable loose mode. In loose mode, the parser is more forgiving with imperfectly formatted semver strings
an array of prerelease components, or null if none exist
Returns an array of prerelease components, or
nullif none exist.Example