fileid

A node.js addon for Oracle's file id library.

A node.js addon for Oracle's file id library.

Usage

var fileid = require('fileid');
 
fileid.identify('/home/foo/bar.xls', function (errdetails) {
 
    console.log(details);
 
});

Output

{ id: 1446, name: 'Microsoft Excel 2000' }

Compiling Prerequisites

Download the Oracle file id SDK, place the header files in /usr/local/include/fileid and the entire contents of the sdk's redist directory into /usr/local/lib/fileid. Make sure /usr/local/lib/fileid is in $LD_LIBRARY_PATH.

Oracle

You can download Oracle's tools at the following URL: http://www.oracle.com/technetwork/middleware/content-management/downloads/oit-dl-otn-097435.html