Skip to content

mk-pmb/ubuntu-versions-table-pmb-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ubuntu-versions-table-pmb

Static information about Ubuntu releases. Can find release by codename and vice versa.

Limitations

  • The database currently ignores:
    • Desktop-only versions.
    • Information about Extended Security Maintenance.
    • Dates

API

This module ESM-exports an object that holds these functions:

.byCodename(name)

Look up details about an Ubuntu version by codename.

.byVersion(ver)

Look up details about an Ubuntu version by version, given as a string.

.byVersion(year, month[, patch])

Look up details about an Ubuntu version by version parts given as numbers.

.byRelease(rls)

Look up details about an Ubuntu version by release name, i.e. "year dot two-digit-month".

.mustFind(mtd, ...args)

Delegate to the method whose name is given in string mtd, passing arguments ...args, throw an error if the result is false-y.

Result data format for .by*()

see test/usage.mjs

.apt2rls(cn)

Efficient lookup the release name string by lowercase codename adjective (codenameApt).

Usage

see test/usage.mjs

Known issues

  • Needs more/better tests and docs.

 

License

ISC

About

Static information about Ubuntu releases. Can find release by codename and vice versa.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published