1.1.0 • Published 3 years ago
@bevry/node-versions v1.1.0
Fetch the Node.js releases and filter them to your preferences
Usage
import { fetchAndFilterNodeVersions } from '@bevry/node-versions'
// as of 2020-11-03
// [ '10', '12', '14', '15' ]
console.log(await fetchAndFilterNodeVersions({ maintained: true }))
// [ '15' ]
console.log(await fetchAndFilterNodeVersions({ current: true }))
// [ '12', '14' ]
console.log(await fetchAndFilterNodeVersions({ active: true }))
// [ '10' ]
console.log(await fetchAndFilterNodeVersions({ maintenance: true }))
npm
Deno
import * as pkg from 'https://unpkg.com/@bevry/node-versions@^1.0.0/edition-deno/index.ts'
Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
No contributors yet! Will you be the first?
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under: