How to use semver-dsl - 1 common examples

To help you get started, we’ve selected a few semver-dsl examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mgechev / codelyzer / src / util / ngVersion.ts View on Github external
import { VERSION } from '@angular/core';
import { SemVerDSL as DSL, ISemVerDSL } from 'semver-dsl';

export const SemVerDSL: ISemVerDSL = DSL(VERSION.full);

semver-dsl

Tiny internal DSL which allows invocation of different functionality depending on SemVer match.

MIT
Latest version published 8 years ago

Package Health Score

65 / 100
Full package analysis

Popular semver-dsl functions