UNPKG

wrapture

Version:

Wrapture lets you go from a Python-trained model to deployable JavaScript with a single command. It generates TypeScript bindings and a Web/Node-compatible wrapper, using WebGPU/WASM-ready ONNX runtimes.

15 lines (13 loc) 296 B
/* eslint-disable import/no-unused-modules */ import { defineConfig } from 'tsup'; export default defineConfig({ entry: ['src/wrapture.ts'], format: ['esm'], target: 'node16', outDir: 'bin', clean: true, tsconfig: './tsconfig.json', banner: { js: '#!/usr/bin/env node' } });