Simple Flexlm License Parser
$ npm install -save flexlm-parser
or
$ npm install -g flexlm-parser
$ flexlmparse license_file.lic
new LicenseFileParser().parse(filePath, function (err, info){
if (err) {
console.error(err);
}
console.dir(info);
});
=>
{ vendor: { vendor: 'VMWARELM', vendor_daemon_path: 'port=27010' },
server: { use: true, host: 'this_host', hostid: 'ANY', port: '27000' },
features:
[ { type: 'INCREMENT',
name: 'PROD_ESX_FULL',
vendor: 'VMWARELM',
version: '2005.05',
expiredDate: 'permanent',
capacity: '32' },