proofmode 0.9.0

Capture, share, and preserve verifiable photos and videos
Documentation
# ProofMode Node.js Integration Example

This directory contains examples of how to integrate the ProofMode library into your Node.js application.

## Prerequisites

First, install the ProofMode library:

```bash
npm install @guardianproject/proofmode
```

## Examples

- `example.js` - Basic usage example showing proof generation and verification
- `usage.js` - More comprehensive examples with different use cases

## Running the Examples

```bash
# Make sure you have the ProofMode package installed
npm install

# Run the basic example
node example.js

# Run the comprehensive usage examples
node usage.js
```

## Integration Tips

1. The ProofMode library uses WebAssembly, so it requires an async initialization
2. All ProofMode methods are asynchronous and return Promises
3. Error handling is important - wrap calls in try/catch blocks
4. The library works with both file paths and Uint8Array buffers

## For More Information

See the [ProofMode NPM package documentation](../../cli/node/README.md) for full API reference.