User Mode API
The user mode API comes in two pieces, both of which must be deployed with the application:
- A Node.js file named cbfsstorage.js.
- A native add-on module named cbfsstorage.node, available for both 32-bit (x86) and 64-bit (x64) processor architectures.
Both of these are included in the product's Node.js package, <install_dir>\cbfsstorage-20.0.tar.gz, which should be installed using npm:
npm install cbfsstorage-20.0.tar.gz
Once the product's Node.js package has been installed, the Node.js file can be imported and used: require("cbfsstorage"). Nothing else is required to deploy the application.
Windows Only: Remember to deploy the drivers too, as they are an integral part of CBFS Storage.