New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@nodevu/ranges

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodevu/ranges

support node's unofficial alias namespace

latest
Source
npmnpm
Version
0.2.0
Version published
Maintainers
1
Created
Source

@nodevu/ranges

a module that provides information about ranges of Node.js versions.

Usage

const ranges = require('@nodevu/ranges')

async function generateData () {
  const data = await ranges()

  console.log(data) // will be a chunky object!
}

Structure

This module will return a medium-sized object with the following structure, with each property being in the context of the range it's under:

  • all:
    • versions (Array): An array of versions.
    • newestLts (String): The newest LTS version.
    • newestSecurity (String): The newest possible security release.
    • newest (String): The newest version.
    • oldest (String): The oldest version.
  • current:
    • versions (Array): An array of versions.
    • oldestSecurity (String): The oldest security release.
    • newestSecurity (String): The newest possible security release.
    • newest (String): The newest version.
    • oldest (String): The oldest version.
  • lts/latest:
    • versions (Array): An array of versions.
    • oldestLts (String): The oldest LTS release.
    • oldestSecurity (String): The oldest security release.
    • newestLts (String): The newest LTS version.
    • newestSecurity (String): The newest possible security release.
    • newest (String): The newest version.
    • oldest (String): The oldest version.
  • lts/active:
    • versions (Array): An array of versions.
    • oldestLts (String): The oldest LTS release.
    • oldestSecurity (String): The oldest security release.
    • newestLts (String): The newest LTS version.
    • newestSecurity (String): The newest possible security release.
    • newest (String): The newest version.
    • oldest (String): The oldest version.
  • lts/maintenance:
    • versions (Array): An array of versions.
    • oldestLts (String): The oldest LTS release.
    • oldestSecurity (String): The oldest security release.
    • newestLts (String): The newest LTS version.
    • newestSecurity (String): The newest possible security release.
    • newest (String): The newest version.
    • oldest (String): The oldest version.
  • eol:
    • versions (Array): An array of versions.
    • newest (String): The newest version.
    • oldest (String): The oldest version.

FAQs

Package last updated on 07 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts