1.1.0 • Published 9 years ago

heed v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

Heed

Version npmBuild StatusDependenciesCoverage Status

Check dependency semver against an allowed semver. Comparing semver ranges is difficult. This module checks if the depedency is allowed for the supplied range.

Install

npm install --save heed

Usage

import Heed from 'heed';

let heed = new Heed({
  dep1: '~0.5.6',
  dep2: '^0.9'
})

heed.to('dep1', '~0.5.0') === true;
heed.to('dep2', '1.0.0') === false;

Test

git clone git@github.com:Swaagie/heed.git && cd heed
npm install && npm test

License

MIT, see LICENSE.md

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago