* converted [nexus node] from static classes to props * fixing node module route field * converted [nodeping npm] from static classes to props * Removed Commented code Co-authored-by: Jabbar Memon <jabbar@zoop.one>
19 lines
500 B
JavaScript
19 lines
500 B
JavaScript
'use strict'
|
|
|
|
const NodeVersionBase = require('./node-base')
|
|
const { versionColorForRangeLts } = require('./node-version-color')
|
|
|
|
module.exports = class NodeLtsVersion extends NodeVersionBase {
|
|
static route = this.buildRoute('node/v-lts', { withTag: true })
|
|
|
|
static defaultBadgeData = {
|
|
label: 'node-lts',
|
|
}
|
|
|
|
static type = 'lts'
|
|
|
|
static colorResolver = versionColorForRangeLts
|
|
|
|
static documentation = `This badge indicates whether the package supports <b>all</b> LTS node versions`
|
|
}
|