var assert = require('assert')
var getVersions = require('commonform-get-versions')
getVersions(
'commonform.org', // repository
'kemitchell', // publisher
'test', // project
function (error, versions) {
assert.ifError(error)
assert.deepStrictEqual(versions, ['1.0.0'])
}
)
getVersions(
'commonform.org',
'test',
'nonexistent',
function (error, versions) {
assert.ifError(error)
assert(versions === false)
}
)
-
Notifications
You must be signed in to change notification settings - Fork 0
License
commonform/commonform-get-versions
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published