JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q54685F
  • License MIT

check runtime versions

Package Exports

  • runtime-eol
  • runtime-eol/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (runtime-eol) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

runtime-eol

Small package to check current tools End of life / End of support

e.g. Node Version etc.

Usage

Console

  # -s | --skip        => Skip downloading from remote
  # -a | --add [...]   => Specify additional tools (e.g., -a python)
  # -h | --help        => Show this help message

  ## Console Examples:
  npx runtime-eol -a python
  npx runtime-eol -s

  ## Sample output:
  # Node - system = 20.10.0 | target = 20 => OK
  # Python - system = 3.9.6 | target = 3.9 => OK
  # versions ok => 2 out of 2

Import

const eol = require('runtime-eol');

const result = await eol(); // optional argument => {skipRemote: false, tools: ['python']}
console.log(result) // -> true if All tools ok, false if at least one is behind

Supported additions

  • Python

TODO:

  • AWS Lambda (NodeJS / Python)

Acknowledgment

This package runs and fully depends on Endoflife API. Thanks to the team behind - https://endoflife.date/

License

MIT