import { bnToHex } from "https://deno.land/x/polkadot@0.2.19/util/mod.ts";
Examples
import BN from 'https://esm.sh/bn.js@5.2.1';
import { bnToHex } from 'https://deno.land/x/polkadot@0.2.19/util/mod.ts';
bnToHex(new BN(0x123456)); // => '0x123456'