Skip to content

Releases: bmacnaughton/linux-os-info

v2.0.0

19 Jul 15:44
Compare
Choose a tag to compare
  • rework API - see README for changes required
  • try multiple filenames and locations for OS information
  • return file property with filename read or, on error, an error instance

v1.0.0 - initial release

01 Jul 22:21
Compare
Choose a tag to compare

Reads /etc/os-release and returns the key-value pairs as an object.

Callable synchronously and asynchronously using a callback or a promise.