This package has been deprecated

Author message:

please use @nodevu/earliest instead :)

earliest

0.0.1 • Public • Published

earliest

A module that returns earliest LTS or Security release of a given Node.js release line.

Usage

const { earliest } = require('@nodevu/earliest')

const earliestLts = earliest('v16', 'lts')
const earliestSecurity = earliest('v16', 'security')
const { lts, security } = require('@nodevu/earliest')

const earliestLts = earliest('v16', 'lts')
const earliestSecurity = earliest('v16', 'security')

API

this module exports three functions

  • earliest(name, type)
    • name (string): Node.js release line name. Examples: v16, v11, v8, v0.10.
    • type (string): lts or security.
  • lts(name)
    • name (string): Node.js release line name. Examples: v16, v11, v8, v0.10.
  • security(name)
    • name (string): Node.js release line name. Examples: v16, v11, v8, v0.10.

Readme

Keywords

Package Sidebar

Install

npm i earliest

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

2.13 kB

Total Files

3

Last publish

Collaborators

  • bnb