npm install --save @types/semver
This package contains type definitions for semver (https://github.com/npm/node-semver).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver
Additional Details
These definitions were written by Bart van der Schoor https://github.com/Bartvds, BendingBender https://github.com/BendingBender, Lucian Buzzo https://github.com/LucianBuzzo, and Klaus Meinhardt https://github.com/ajafff.