JSPM

rcinfo

0.1.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11378
  • Score
    100M100P100Q128145F
  • License BSD-2-Clause

Node module to show resources informations of exe and dll files

Package Exports

  • rcinfo

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rcinfo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rcinfo

A node module to show resources informations of exe and dll files.

Usage

var rcinfo = require('rcinfo');

rcinfo(path to an exe or dll file, function (error, info) { ... })

Example

rcinfo('./bin/ShowVer.exe', function (error, info) {
  if (!error) {  
    console.log(info);
  }
});

This output info to the console with the following json string:

{ Signature: 'feef04bd',
  StrucVersion: '1.0',
  FileVersion: '1.0.0.1',
  ProductVersion: '1.0.0.1',
  FileFlagsMask: '0x3f',
  FileFlags: '0',
  FileOS: 'VOS__WINDOWS32',
  FileType: 'VFT_APP',
  FileDate: '0.0',
  LangID: '040904b0',
  AuthorName: 'Ted Peck',
  Comments: '',
  CompanyName: '',
  FileDescription: 'ShowVer console app for VersionInfo display',
  InternalName: 'ShowVer',
  LegalCopyright: 'Copyright © 2002',
  LegalTrademarks: '',
  OriginalFilename: 'ShowVer.exe',
  PrivateBuild: '',
  ProductName: 'ShowVer',
  SpecialBuild: '',
  Translation: '040904b0' }
  

Acknowledgements

This module uses the ShowVer.exe command-line VERSIONINFO display program by Ted Peck (c) 2002 available on CodeProject.