# facebetter-core

WebAssembly core module for Facebetter. This package contains the compiled WASM binary embedded in a JavaScript file.

## Installation

```bash
npm install facebetter-core
```

## Usage

This package is primarily used by `facebetter` SDK. You typically don't need to use it directly.

If you need to use it directly:

```javascript
import createFaceBetterModule from 'facebetter-core';

const Module = await createFaceBetterModule({
  // Emscripten module options
});

// Module is now ready to use
```

## Build

This package is built by CMake when compiling for WebAssembly (Emscripten). The output file `facebetter-core.js` is generated in the `dist/` directory.

## Note

- The WASM binary and data files are embedded in the JS file (SINGLE_FILE=1)
- This is an internal package, typically used by `facebetter` SDK
- Version should match the `facebetter` SDK version

