0.0.0-3 • Published 4 months ago
@vltpkg/satisfies v0.0.0-3
@vltpkg/satisfies
Give it a DepID and a Spec, and it'll tell you whether that dep satisfies the spec.
Usage
import { Spec } from '@vltpkg/spec'
import { satisfies } from '@vltpkg/satisfies'
const id = ';;glob@11.0.1'
const spec = Spec.parse('foo@npm:glob@11.x')
console.log(satisfies(id, spec)) // true
0.0.0-3
4 months ago
0.0.0-2
4 months ago
0.0.0-0.1730724342581
8 months ago
0.0.0-0.1730239248325
8 months ago