node-cfbf
A Node.js binding for POLE, the portable C++ library to access Microsoft OLE compound binary file
Installation
npm install cfbf
Usage
Class: pole.Storage
A Storage
provides an interface for accessing OLE file. Only synchronous reading is supported yet.
new pole.Storage(filepath)
Opens a new file stream.
storage.streamSync(path)
path
<String>: An absolute path to the stream (e.g "/Workbook").
Returns a binary <Buffer> of the specified stream.
storage.closeSync()
Closes a file stream.
License
POLE is under the BSD 3-clause license, and this binding package is under MIT license. See LICENSE and NOTICE.