cfbf

0.1.2 • Public • Published

node-cfbf

npm version

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.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i cfbf

    Weekly Downloads

    2

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • cumul0529