was-unpublished
1.0.1 • Public • Published was-unpublished
Small pacakge to test if a specified version of a package on npm was unpublished.
var unpublished = require('was-unpublished')
unpublished('was-unpublished', '1.0.0', function (err, isUnpublished) {
if (err) return console.error(err)
if (isUnpublished) {
} else {
}
})
CLI
npm install was-unpublished -g
usage: was-unpublished <pacakge> <version>
Package Sidebar
Install
Weekly Downloads