Licence
MIT
Version
0.0.6
Deps
0
Size
38 kB
Vulns
0
Weekly
2
vantmetry
Lightweight browser error tracking. Captures JavaScript errors, console errors, and unhandled promise rejections. Uses WebTransport with sendBeacon fallback so error delivery does not block page unload.
Install
npm i vantmetryOr use the CDN script tag. See vantmetry.com/docs.
Quick start
import { init } from 'vantmetry';
init({ publicKey: 'vpk_your_key' });That's it. Errors are auto-captured from that point on. See vantmetry.com/docs for full configuration, React/Next.js integrations, manual logging, and PII masking details.
Source
The full TypeScript source is in the src/ directory of this package and on GitHub.