npm i @rosinfo.tech/browser
ES6:
import { eventPreventDefault } from "@rosinfo.tech/browser/eventPreventDefault";
// or
// import { eventPreventDefault } from "@rosinfo.tech/browser";
// ...
eventPreventDefault( event );
// ...
export declare const eventPreventDefault: (event: any) => void;