Parse and get the /etc/lsb-release to JSON in a convenient manner. Useful to get your Linux distribution version (Ubuntu, Debian, etc.).
npm install lsb-release-fs --save
Retrieve the lsb-release to json:
const lsbReleaseFs = require('lsb-release-fs');
const version = lsbReleaseFs();
console.log(version);
ISC