New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cfv

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cfv

CFV is a cross-platform node.js library that can extract the file version from a valid PE file (.exe)

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

CFV

CFV is a cross-platform node.js library that can extract the file version from a valid PE file (.exe)

Disclaimer

I've created this package by analyzing the python pefile library, but I didn't add any check for a non-valid PE files like they did.
If you are going to use this package please first ensure that all files are valid PE files (.exe).

API

getFileVersion(path: PathLike | Buffer): Promise<string>

path - Path to the file or a raw representation of it.

getProductVersion(path: PathLike | Buffer): Promise<string>

path - Path to the file or a raw representation of it.

getFileProperties(path: PathLike | Buffer): Promise<Properties>

path - Path to the file or a raw representation of it.

Keywords

cross-platform

FAQs

Package last updated on 11 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts