1.1.3 • Published 6 months ago

@types/semver-utils v1.1.3

Weekly downloads
1,755
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/semver-utils

Summary

This package contains type definitions for semver-utils (https://git.coolaj86.com/coolaj86/semver-utils.js).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/semver-utils.

index.d.ts

// Type definitions for semver-utils 1.1
// Project: https://git.coolaj86.com/coolaj86/semver-utils.js
// Definitions by: Jamie Magee <https://github.com/JamieMagee>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export interface SemVer {
    semver?: string | undefined;
    version?: string | undefined;
    major?: string | undefined;
    minor?: string | undefined;
    patch?: string | undefined;
    release?: string | undefined;
    build?: string | undefined;
    operator?: string | undefined;
}

export function parse(version: string): SemVer;
export function stringify(version: SemVer): string;
export function parseRange(range: string): SemVer[];
export function stringifyRange(version: SemVer[]): string;

Additional Details

  • Last updated: Tue, 06 Jul 2021 16:34:33 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Jamie Magee.