UNPKG

homography-transform

Version:

A robust TypeScript implementation of homography-based transformation between 2D planes, ideal for computer vision and image mapping

10 lines (9 loc) 240 B
const esbuild = require('esbuild'); esbuild.build({ entryPoints: ['src/index.ts'], bundle: true, outfile: 'test/visual/bundle.js', format: 'esm', platform: 'browser', target: 'es2020', }).catch(() => process.exit(1));