daon-package
v1.0.2
Published
Daon Package
Readme
Daon Package
A simple face verification package for use in JavaScript projects, including browser and framework-based applications.
Features
- Fully typed with TypeScript
- Works in Node.js and browser environments
- Supports CommonJS, ESM, and UMD formats
- Optimized with Rollup
Installation
Install via NPM:
npm install daon-packageOr with Yarn:
yarn add daon-packageUsage
In Node.js / CommonJS
const { DaonVerification } = require("daon-package");
const { dimecStepAuth } = new DaonVerification({ 'x-api-key': 'X_API_KEY' });In ES Modules / TypeScript
import { DaonVerification } from "daon-package";
import 'daon-package/dist/index.css';
const { dimecStepAuth } = new DaonVerification({ 'x-api-key': 'X_API_KEY' });
In the Browser (via CDN)
<script src="https://unpkg.com/daon-package/dist/face-camera-box.umd.js"></script>
<script>
const { dimecStepAuth } = new FaceCameraBox.DaonVerification({ 'x-api-key': 'X_API_KEY' });
</script>License
This package is licensed under the MIT License.
