1.0.2 • Published 9 years ago

flexlm-parser v1.0.2

Weekly downloads
71
License
ISC
Repository
github
Last release
9 years ago

flexlm_license_parser

Simple Flexlm License Parser

Install

$ npm install -save flexlm-parser

or

$ npm install -g flexlm-parser

how to use the parser

$ flexlmparse license_file.lic

how to use in your code

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' },

License File Format