1.0.0 • Published 4 years ago

whatver v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

whatver

https://semver.npmjs.com/ for your terminal

Install

npm install -g whatver

Usage

whatver lodash "^4.14"

screenshot

As a module

const checkVersions = require("whatver")

checkVersions("lodash", "^4.14").then((versionInfo) => {
  // Returns Promise witharray of { version: String, satisfied: Boolean } pairs for all versions
  // E.g [{ version: "4.15.0", satisfied: true }]
  console.log(versionInfo)
})